40 #ifndef _physicssliderconstraint_h
41 #define _physicssliderconstraint_h
43 #include "Physics/dualtransformconstraint.h"
45 class btSliderConstraint;
78 virtual void SetPivotATransform(
const Transform& TranA);
80 virtual void SetPivotBTransform(
const Transform& TranB);
82 virtual Transform GetPivotATransform()
const;
84 virtual Transform GetPivotBTransform()
const;
87 virtual void SetPivotALocation(
const Vector3& Location);
89 virtual void SetPivotBLocation(
const Vector3& Location);
91 virtual Vector3 GetPivotALocation()
const;
93 virtual Vector3 GetPivotBLocation()
const;
96 virtual void SetPivotARotation(
const Quaternion& Rotation);
98 virtual void SetPivotBRotation(
const Quaternion& Rotation);
104 virtual void SetUpperLinLimit(
const Real& UpperLimit);
105 virtual void SetUpperAngLimit(
const Real& UpperLimit);
106 virtual void SetLowerLinLimit(
const Real& LowerLimit);
107 virtual void SetLowerAngLimit(
const Real& LowerLimit);
108 virtual void SetPoweredLinMotor(
bool OnOff);
109 virtual void SetTargetLinMotorVelocity(
const Real& TargetLinMotorVelocity);
110 virtual void SetMaxLinMotorForce(
const Real& MaxLinMotorForce);
111 virtual void SetPoweredAngMotor(
bool OnOff);
112 virtual void SetTargetAngMotorVelocity(
const Real& TargetAngMotorVelocity);
113 virtual void SetMaxAngMotorForce(
const Real& MaxAngMotorForce);
114 virtual void SetUseFrameOffset(
bool FrameOffset);
115 virtual void SetSoftnessDirLin(
const Real& SoftnessDirLin);
116 virtual void SetRestitutionDirLin(
const Real& RestitutionDirLin);
117 virtual void SetDampingDirLin(
const Real& DampingDirLin);
118 virtual void SetSoftnessDirAng(
const Real& SoftnessDirAng);
119 virtual void SetRestitutionDirAng(
const Real& RestitutionDirAng);
120 virtual void SetDampingDirAng(
const Real& DampingDirAng);
121 virtual void SetSoftnessLimLin(
const Real& SoftnessLimLin);
122 virtual void SetRestitutionLimLin(
const Real& RestitutionLimLin);
123 virtual void SetDampingLimLin(
const Real& DampingLimLin);
124 virtual void SetSoftnessLimAng(
const Real& SoftnessLimAng);
125 virtual void SetRestitutionLimAng(
const Real& RestitutionLimAng);
126 virtual void SetDampingLimAng(
const Real& DampingLimAng);
127 virtual void SetSoftnessOrthoLin(
const Real& SoftnessOrthoLin);
128 virtual void SetRestitutionOrthoLin(
const Real& RestitutionOrthoLin);
129 virtual void SetDampingOrthoLin(
const Real& DampingOrthoLin);
130 virtual void SetSoftnessOrthoAng(
const Real& SoftnessOrthoAng);
131 virtual void SetRestitutionOrthoAng(
const Real& RestitutionOrthoAng);
132 virtual void SetDampingOrthoAng(
const Real& DampingOrthoAng);
146 virtual btTypedConstraint* GetConstraintBase()
const;