40 #ifndef _physicssliderconstraint_h
41 #define _physicssliderconstraint_h
43 #include "Physics/dualtransformconstraint.h"
45 class btSliderConstraint;
89 virtual void DestroyConstraint();
118 virtual void SetPivotATransform(
const Transform& TranA);
120 virtual void SetPivotBTransform(
const Transform& TranB);
122 virtual Transform GetPivotATransform()
const;
124 virtual Transform GetPivotBTransform()
const;
127 virtual void SetPivotALocation(
const Vector3& Location);
129 virtual void SetPivotBLocation(
const Vector3& Location);
131 virtual Vector3 GetPivotALocation()
const;
133 virtual Vector3 GetPivotBLocation()
const;
136 virtual void SetPivotARotation(
const Quaternion& Rotation);
138 virtual void SetPivotBRotation(
const Quaternion& Rotation);
149 virtual void SetUseFrameOffset(
const Boole FrameOffset);
152 virtual Boole GetUseFrameOffset()
const;
156 virtual void SetUpperLinLimit(
const Real UpperLimit);
159 virtual Real GetUpperLinLimit()
const;
162 virtual void SetUpperAngLimit(
const Real UpperLimit);
165 virtual Real GetUpperAngLimit()
const;
168 virtual void SetLowerLinLimit(
const Real LowerLimit);
171 virtual Real GetLowerLinLimit()
const;
174 virtual void SetLowerAngLimit(
const Real LowerLimit);
177 virtual Real GetLowerAngLimit()
const;
181 virtual void SetPoweredLinMotor(
const Boole OnOff);
184 virtual Boole GetPoweredLinMotor()
const;
187 virtual void SetPoweredAngMotor(
const Boole OnOff);
190 virtual Boole GetPoweredAngMotor()
const;
193 virtual void SetTargetLinMotorVelocity(
const Real TargetLinMotorVelocity);
196 virtual Real GetTargetLinMotorVelocity()
const;
199 virtual void SetTargetAngMotorVelocity(
const Real TargetAngMotorVelocity);
202 virtual Real GetTargetAngMotorVelocity()
const;
205 virtual void SetMaxLinMotorForce(
const Real MaxLinMotorForce);
208 virtual Real GetMaxLinMotorForce()
const;
211 virtual void SetMaxAngMotorForce(
const Real MaxAngMotorForce);
214 virtual Real GetMaxAngMotorForce()
const;
218 virtual void SetSoftnessLimLin(
const Real SoftnessLimLin);
221 virtual Real GetSoftnessLimLin()
const;
224 virtual void SetSoftnessLimAng(
const Real SoftnessLimAng);
227 virtual Real GetSoftnessLimAng()
const;
230 virtual void SetSoftnessOrthoLin(
const Real SoftnessOrthoLin);
233 virtual Real GetSoftnessOrthoLin()
const;
236 virtual void SetSoftnessOrthoAng(
const Real SoftnessOrthoAng);
239 virtual Real GetSoftnessOrthoAng()
const;
246 virtual void SetSoftnessDirLin(
const Real SoftnessDirLin);
249 virtual Real GetSoftnessDirLin()
const;
252 virtual void SetSoftnessDirAng(
const Real SoftnessDirAng);
255 virtual Real GetSoftnessDirAng()
const;
259 virtual void SetDampingDirLin(
const Real DampingDirLin);
262 virtual Real GetDampingDirLin()
const;
265 virtual void SetDampingDirAng(
const Real DampingDirAng);
268 virtual Real GetDampingDirAng()
const;
271 virtual void SetDampingLimLin(
const Real DampingLimLin);
274 virtual Real GetDampingLimLin()
const;
277 virtual void SetDampingLimAng(
const Real DampingLimAng);
280 virtual Real GetDampingLimAng()
const;
283 virtual void SetDampingOrthoLin(
const Real DampingOrthoLin);
286 virtual Real GetDampingOrthoLin()
const;
289 virtual void SetDampingOrthoAng(
const Real DampingOrthoAng);
292 virtual Real GetDampingOrthoAng()
const;
296 virtual void SetRestitutionDirLin(
const Real RestitutionDirLin);
299 virtual Real GetRestitutionDirLin()
const;
302 virtual void SetRestitutionDirAng(
const Real RestitutionDirAng);
305 virtual Real GetRestitutionDirAng()
const;
308 virtual void SetRestitutionLimLin(
const Real RestitutionLimLin);
311 virtual Real GetRestitutionLimLin()
const;
314 virtual void SetRestitutionLimAng(
const Real RestitutionLimAng);
317 virtual Real GetRestitutionLimAng()
const;
320 virtual void SetRestitutionOrthoLin(
const Real RestitutionOrthoLin);
323 virtual Real GetRestitutionOrthoLin()
const;
326 virtual void SetRestitutionOrthoAng(
const Real RestitutionOrthoAng);
329 virtual Real GetRestitutionOrthoAng()
const;
347 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
349 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
352 virtual String GetDerivedSerializableName()
const;
355 static String GetSerializableName();
361 virtual btTypedConstraint* _GetConstraintBase()
const;
std::vector< int > AxisList
Used to Store lists of Int Axis for return types.
bool Boole
Generally acts a single bit, true or false.
This is a constraint for permitting movement on only a singular linear or angular axis...
float Real
A Datatype used to represent a real floating point number.
btSliderConstraint * Slider
Bullet constraint that this class encapsulates.
A light-weight handle for manipulating nodes in DOM tree.
uint32_t UInt32
An 32-bit unsigned integer.
ConstraintParam
Used by constraints for setting some parameters.
This is a proxy from which rigid body proxys are handled.
std::vector< ConstraintParam > ParamList
Used to Store lists of param for return types.
This is simply a place for storing all the Physics Related functions.
This is used to represent a point in space, or a vector through space.
The bulk of the engine components go in this namspace.
This is used to store information about rotation in 3d space.
std::string String
A datatype used to a series of characters.