43 #include "collidableproxy.h"
56 class Generic6DofConstraint;
59 typedef Generic6DofConstraint StickyConstraint;
78 this->TransA = Other.TransA;
79 this->TransB = Other.TransB;
80 this->ProxA = Other.ProxA;
81 this->ProxB = Other.ProxB;
91 std::vector<StickyConstraint*> StickyConstraints;
92 std::vector<StickyConstraintConstructionInfo> CreationQueue;
117 virtual void CreateRigidObject(
const Real Mass);
137 virtual void AddToWorld();
139 virtual void RemoveFromWorld();
154 virtual void SetLinearMovementFactor(
const Vector3& Factor);
157 virtual Vector3 GetLinearMovementFactor()
const;
162 virtual void SetAngularMovementFactor(
const Vector3& Factor);
165 virtual Vector3 GetAngularMovementFactor()
const;
172 virtual void SetMass(
const Real Mass);
175 virtual Real GetMass()
const;
182 virtual void SetDamping(
const Real LinDamping,
const Real AngDamping);
185 virtual Real GetLinearDamping()
const;
188 virtual Real GetAngularDamping()
const;
192 virtual void SetLinearVelocity(
const Vector3& LinVel);
195 virtual Vector3 GetLinearVelocity()
const;
198 virtual void SetAngularVelocity(
const Vector3& AngVel);
201 virtual Vector3 GetAngularVelocity()
const;
206 virtual void SetGravity(
const Vector3& Gravity);
210 virtual Vector3 GetGravity()
const;
214 virtual void ApplyForce(
const Vector3& Force);
217 virtual Vector3 GetAppliedForce()
const;
220 virtual void ApplyTorque(
const Vector3& Torque);
223 virtual Vector3 GetAppliedTorque()
const;
230 virtual void SetStickyData(const Whole& MaxNumContacts);
232 virtual void ClearStickyContacts();
235 virtual StickyData* GetStickyData() const;//*/
249 virtual UInt32 GetNumSyncObjects()
const;
254 virtual void RemoveAllSyncObjects();
260 virtual void ProtoSerializeProperties(
XML::Node& SelfRoot)
const;
262 virtual void ProtoDeSerializeProperties(
const XML::Node& SelfRoot);
265 virtual String GetDerivedSerializableName()
const;
267 static String GetSerializableName();
275 virtual btRigidBody* _GetPhysicsObject()
const;
277 virtual btCollisionObject* _GetBasePhysicsObject()
const;