RavEngine
Loading...
Searching...
No Matches
physx::vehicle2::PxVehiclePhysXActorUpdateMode Struct Reference

Determine whether the PhysX actor associated with a vehicle is to be updated with a velocity change or an acceleration change. A velocity change will be immediately reflected in linear and angular velocity queries against the vehicle. An acceleration change, on the other hand, will leave the linear and angular velocities unchanged until the next PhysX scene update has applied the acceleration update to the actor's linear and angular velocities. More...

#include <PxVehicleParams.h>

Public Types

enum  Enum { eAPPLY_VELOCITY = 0 , eAPPLY_ACCELERATION }
 

Detailed Description

Determine whether the PhysX actor associated with a vehicle is to be updated with a velocity change or an acceleration change. A velocity change will be immediately reflected in linear and angular velocity queries against the vehicle. An acceleration change, on the other hand, will leave the linear and angular velocities unchanged until the next PhysX scene update has applied the acceleration update to the actor's linear and angular velocities.

See also
PxVehiclePhysXActorEndComponent
PxVehicleWriteRigidBodyStateToPhysXActor

The documentation for this struct was generated from the following file: