|
CORGI
An open source project by
FPL.
|
Data describing a single Bullet rigid body shape. More...
#include <physics.h>
Data describing a single Bullet rigid body shape.
Public Member Functions | |
| RigidBodyData () | |
| Constructor for RigidBodyData. | |
| ~RigidBodyData () | |
| Destructor for RigidBodyData. | |
| RigidBodyData & | operator= (RigidBodyData &&src) |
| The move assignment operator for RigidBodyData. More... | |
Public Attributes | |
| mathfu::vec3 | offset |
| The position offset from the origin of the TransformComponent to the center. | |
| short | collision_type |
| A bit field determining what type of collision object this is. | |
| short | collides_with |
| A bit field determining what types of objects it can collide into. | |
| std::string | user_tag |
| A user-defined C-string tag to identify this rigid body. | |
| std::unique_ptr< btCollisionShape > | shape |
| The btCollisionShape of the RigidBodyData. | |
| std::unique_ptr< btMotionState > | motion_state |
| The btMotionState of the RigidBodyData. | |
| std::unique_ptr< btRigidBody > | rigid_body |
| The btRigidBody of the RigidBodyData. | |
| bool | should_export |
| Should the shape be included on export. | |
| RigidBodyData& RigidBodyData::operator= | ( | RigidBodyData && | src | ) |
The move assignment operator for RigidBodyData.
| [in] | src | The other RigidBodyData to move into this RigidBodyData. |