#include <FCDPhysicsRigidBody.h>
Inheritance diagram for FCDPhysicsRigidBody:

Public Member Functions | |
| FCDPhysicsRigidBody (FCDocument *document) | |
| Constructor: do not use directly. | |
| virtual | ~FCDPhysicsRigidBody () |
| Destructor. | |
| virtual Type | GetType () const |
| Retrieves the entity type for this class. | |
| const fm::string & | GetSubId () const |
| Retrieves the sub id (sid) of this rigid body. | |
| void | SetSubId (const char *sid) |
| Sets the sub id (sid) of this rigid body. | |
| void | SetSubId (const fm::string &sid) |
| See above. | |
| FCDPhysicsRigidBodyParameters * | GetParameters () |
| Retrieves the parameters of tihs rigid body. | |
| const FCDPhysicsRigidBodyParameters * | GetParameters () const |
| See above. | |
| float | GetShapeMassFactor () const |
| Retrieves the factor to multiple by to ensure shape masses are correct. | |
| virtual FCDEntity * | Clone (FCDEntity *clone=NULL, bool cloneChildren=false) const |
| Copies the rigid body into a clone. | |
A rigid body contains all the information needed for collision detection.
|
|
Constructor: do not use directly. Create new rigid bodies using the FCDPhysicsModel::AddRigidBody function.
|
|
||||||||||||
|
Copies the rigid body into a clone.
Reimplemented from FCDEntity. |
|
|
Retrieves the parameters of tihs rigid body.
|
|
|
Retrieves the factor to multiple by to ensure shape masses are correct. According to the COLLADA spec in 1.4.1, if the total mass of the rigid body is 6 and there are 2 shapes with mass of 1 and 2, then it will be interpreted as 2 shapes with mass of 2 and 4 respectively. This method gives the factor to convert from the shape's mass to the one that should be interpreted as.
|
|
|
Retrieves the sub id (sid) of this rigid body.
|
|
|
Retrieves the entity type for this class. This function is part of the FCDEntity interface.
Reimplemented from FCDEntity. |
|
|
Sets the sub id (sid) of this rigid body.
|
1.4.6-NO