|
Nebula
|
#include <physicsinterface.h>
A physics body description.
Public Attributes | |
| Physics::ActorType | type = Physics::Dynamic |
| IndexT | scene = 0 |
| Math::transform | transform |
| float | mass = 0.0f |
| 0 means the mass is derived from the shape volumes and the material densities | |
| float | linearDamping = 0.0f |
| float | angularDamping = 0.0f |
| bool | useGravity = true |
| bool | ccd = false |
| uint32_t | collisionGroup = 0 |
| Physics::CollisionFeedback | feedback = Physics::CollisionFeedback_Full |
| uint64_t | userData = 0 |
| float Physics::BodyDescription::angularDamping = 0.0f |
| bool Physics::BodyDescription::ccd = false |
| uint32_t Physics::BodyDescription::collisionGroup = 0 |
| Physics::CollisionFeedback Physics::BodyDescription::feedback = Physics::CollisionFeedback_Full |
| float Physics::BodyDescription::linearDamping = 0.0f |
| float Physics::BodyDescription::mass = 0.0f |
0 means the mass is derived from the shape volumes and the material densities
| IndexT Physics::BodyDescription::scene = 0 |
| Math::transform Physics::BodyDescription::transform |
| Physics::ActorType Physics::BodyDescription::type = Physics::Dynamic |
| bool Physics::BodyDescription::useGravity = true |
| uint64_t Physics::BodyDescription::userData = 0 |