Inherits PhysicalComponent.

Public Member Functions | |
| DEFAULT_COMPONENT_CONSTRUCTOR (PhysicalComponent, ComplexPhysicalComponent, INIT1(m_bLocalCollisions, false),,) | |
| virtual void | Update (const int nDelta) |
| Can be overridden to implement logic that is called on every game update. | |
| virtual void | ToStream (std::ostream &stream) const |
| Empty implementation. | |
| virtual void | FromStream (std::istream &stream) |
| Empty implementation. | |
| virtual bool | FromAttribute (const Attribute *pRoot) |
| Can be overriden to implement custom loading functionality from an AttributeTree. | |
| const std::string & | GetMainPart () const |
| template<class T > | |
| boost::shared_ptr< T > | CreateCollisionHull (const std::string &type) |
| void | ConstructBodyPart (const std::string &name, const Vector2 &position, float fRotation, float fMass, float fLinearDamping, float fAngularDamping, bool bFixRotation, bool bBullet, bool bIsMain, BaseCollisionHullPtr pCollisionHull) |
| void | TurnOnLocalCollisions () |
| void | TurnOffLocalCollisions () |
| bool | GetBodyPart (const std::string &name, BodyPart **pBodyPartOut) |
| bool | RemoveBodyPart (const std::string &name) |
| bool | ConstructDistanceConstraint (const std::string &name, const std::string &body1, const std::string &body2, const DistanceJoint &jointInfo) |
| bool | ConstructRevoluteConstraint (const std::string &name, const std::string &body1, const std::string &body2, const RevoluteJoint &jointInfo) |
| bool | ConstructPrismaticConstraint (const std::string &name, const std::string &body1, const std::string &body2, const PrismaticJoint &jointInfo) |
| bool | ConstructPulleyConstraint (const std::string &name, const std::string &body1, const std::string &body2, const PulleyJoint &jointInfo) |
| bool | ConstructGearConstraint (const std::string &name, const std::string &body1, const std::string &body2, const GearJoint &jointInfo) |
| bool | GetConstraint (const std::string &name, Constraint **ppConstraintOut) |
| bool | RemoveConstraint (const std::string &name) |
| bool ComplexPhysicalComponent::FromAttribute | ( | const Attribute * | pRoot | ) | [virtual] |
Can be overriden to implement custom loading functionality from an AttributeTree.
| pRoot | A pointer to the root of the attribute tree for this component. |
Implements AbstractComponent.
| void ComplexPhysicalComponent::Update | ( | const int | nDelta | ) | [virtual] |
Can be overridden to implement logic that is called on every game update.
| nDelta | The time between this frame and last (in ms). |
Implements AbstractComponent.
1.6.1