|
|
| RigidBodyDynamicComponent (Entity owner) |
| | Dynamic Body ========================================.
|
| |
|
| RigidBodyDynamicComponent (Entity owner, physx::PxU32 fg, physx::PxU32 fm) |
| |
| vector3 | GetLinearVelocity () const |
| |
| vector3 | GetAngularVelocity () const |
| |
| void | SetLinearVelocity (const vector3 &, bool) |
| |
| void | SetAngularVelocity (const vector3 &, bool) |
| |
|
void | SetKinematicTarget (const vector3 &targetPos, const quaternion &targetRot) |
| |
|
std::pair< vector3, quaternion > | GetKinematicTarget () const |
| |
| void | Wake () |
| |
| void | Sleep () |
| |
| bool | IsSleeping () const |
| |
| void | SetAxisLock (uint16_t LockFlags) |
| |
| uint16_t | GetAxisLock () const |
| |
| void | SetMass (decimalType mass) |
| |
| decimalType | GetMass () const |
| |
| decimalType | GetMassInverse () const |
| |
| void | AddForce (const vector3 &force) |
| |
| void | AddTorque (const vector3 &torque) |
| |
| void | ClearAllForces () |
| |
| void | ClearAllTorques () |
| |
|
void | Destroy () |
| |
Public Member Functions inherited from RavEngine::PhysicsBodyComponent |
|
auto | getScene () const |
| |
|
| PhysicsBodyComponent (Entity owner) |
| |
|
void | Destroy () |
| |
|
template<typename T , typename ... A> |
| ColliderHandle | EmplaceCollider (A &&... args) |
| |
|
template<typename T > |
| void | DestroyCollider (ColliderHandle handle) |
| |
|
void | OnDestroyDetatchCollider (RavEngine::PhysicsCollider &collider) |
| |
| void | AddReceiver (decltype(receivers)::value_type &obj) |
| |
| void | RemoveReceiver (decltype(receivers)::value_type &obj) |
| |
|
void | RemoveReceiver (PhysicsCallback *) |
| |
| std::pair< vector3, quaternion > | getDynamicsWorldPose () const |
| |
| void | setDynamicsWorldPose (const vector3 &worldpos, const quaternion &worldrot) const |
| |
| void | SetGravityEnabled (bool) |
| |
| bool | GetGravityEnabled () const |
| |
| void | SetSleepNotificationsEnabled (bool) |
| |
| bool | GetSleepNotificationsEnabled () const |
| |
| void | SetSimulationEnabled (bool) |
| |
| bool | GetSimulationEnabled () const |
| |
| void | OnColliderEnter (PhysicsBodyComponent &other, const ContactPairPoint *contactPoints, size_t numContactPoints) |
| |
| void | OnColliderPersist (PhysicsBodyComponent &other, const ContactPairPoint *contactPoints, size_t numContactPoints) |
| |
| void | OnColliderExit (PhysicsBodyComponent &other, const ContactPairPoint *contactPoints, size_t numContactPoints) |
| |
| void | OnTriggerEnter (PhysicsBodyComponent &other) |
| |
| void | OnTriggerExit (PhysicsBodyComponent &other) |
| |
| bool | GetWantsContactData () const |
| |
| void | SetWantsContactData (bool state) |
| |
| void | DebugDraw (RavEngine::DebugDrawer &dbg, const RavEngine::Transform &tr) const |
| |
|
| ComponentWithOwner (const decltype(owner) o) |
| |
|
Entity | GetOwner () const |
| |