PxVehicleWheelsSimFlag Struct Reference

Flags to configure the vehicle wheel simulation. More...

#include <PxVehicleWheels.h>

Public Types

enum  Enum { eLIMIT_SUSPENSION_EXPANSION_VELOCITY = (1 << 0) }
 

Detailed Description

Flags to configure the vehicle wheel simulation.

See also
PxVehicleWheelsSimData::setFlags(), PxVehicleWheelsSimData::getFlags()

Member Enumeration Documentation

◆ Enum

Enumerator
eLIMIT_SUSPENSION_EXPANSION_VELOCITY 

Limit the suspension expansion velocity.

For extreme damping ratios, large damping forces might result in the vehicle sticking to the ground where one would rather expect to see the vehicle lift off. While it is highly recommended to use somewhat realistic damping ratios, this flag can be used to limit the velocity of the suspension. In more detail, the simulation will check whether the suspension can extend to the target length in the given simulation time step. If that is the case, the suspension force will be computed as usual, else the force will be set to zero. Enabling this feature gives a slightly more realisitic behavior at the potential cost of more easily losing control when steering the vehicle.


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