40 #ifndef _physicsgearconstraint_h
41 #define _physicsgearconstraint_h
43 #include "Physics/constraint.h"
45 class btGearConstraint;
74 virtual void DestroyConstraint();
105 virtual void SetAxisA(
const Vector3& Axis);
108 virtual void SetAxisB(
const Vector3& Axis);
111 virtual Vector3 GetAxisA()
const;
114 virtual Vector3 GetAxisB()
const;
121 virtual void SetRotationRatio(
const Real Ratio);
124 virtual Real GetRotationRatio()
const;
142 virtual void ProtoSerializeInitData(
XML::Node& SelfRoot)
const;
144 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
147 virtual void ProtoDeSerializeInitData(
const XML::Node& SelfRoot);
149 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
152 virtual String GetDerivedSerializableName()
const;
155 static String GetSerializableName();
161 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 the base class for all constraints supported.
float Real
A Datatype used to represent a real floating point number.
A light-weight handle for manipulating nodes in DOM tree.
uint32_t UInt32
An 32-bit unsigned integer.
btGearConstraint * Gear
Bullet constraint that this class encapsulates.
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 a constraint that duplicate the angular motion of one object to another, adjusted by the prov...
This is used to represent a point in space, or a vector through space.
The bulk of the engine components go in this namspace.
std::string String
A datatype used to a series of characters.