|
RavEngine
|
The force and torque for a single suspension to apply to the vehicle's rigid body. More...
#include <PxVehicleSuspensionStates.h>
Public Member Functions | |
| PX_FORCE_INLINE void | setToDefault () |
Public Attributes | |
| PxVec3 | force |
| The force to apply to the rigid body. | |
| PxVec3 | torque |
| The torque to apply to the rigid body. | |
| PxReal | normalForce |
| The component of force that lies along the normal of the plane under the wheel. | |
The force and torque for a single suspension to apply to the vehicle's rigid body.
| PxVec3 physx::vehicle2::PxVehicleSuspensionForce::force |
The force to apply to the rigid body.
Unit: mass * length / (time^2)
| PxReal physx::vehicle2::PxVehicleSuspensionForce::normalForce |
The component of force that lies along the normal of the plane under the wheel.
Unit: mass * length / (time^2)
| PxVec3 physx::vehicle2::PxVehicleSuspensionForce::torque |
The torque to apply to the rigid body.
Unit: mass * (length^2) / (time^2)