35#include "foundation/PxFoundation.h"
79 eROAD_GEOMETRY_NORMAL,
96 PX_CHECK_AND_RETURN_VAL(
97 PxVehiclePhysXSuspensionLimitConstraintParams::eSUSPENSION == directionForSuspensionLimitConstraint ||
98 PxVehiclePhysXSuspensionLimitConstraintParams::eROAD_GEOMETRY_NORMAL == directionForSuspensionLimitConstraint ||
99 PxVehiclePhysXSuspensionLimitConstraintParams::eNONE == directionForSuspensionLimitConstraint,
"PxVehiclePhysXSuspensionLimitConstraintParams.directionForSuspensionLimitConstraint must have legal value",
false);
100 PX_CHECK_AND_RETURN_VAL(
restitution >= 0.0f &&
restitution <= 1.0f,
"PxVehiclePhysXSuspensionLimitConstraintParams.restitution must be in range [0, 1]",
false);
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition PxVehicleParams.h:174
A description of the PhysX models employed to resolve suspension limit constraints.
Definition PxVehiclePhysXConstraintParams.h:52
DirectionSpecifier
Set the direction to apply a constraint impulse when the suspension cannot place the wheel on the gro...
Definition PxVehiclePhysXConstraintParams.h:77
PxReal restitution
restitution is used by the restitution model used to generate a target velocity when resolving suspen...
Definition PxVehiclePhysXConstraintParams.h:61
Definition PxVehicleParams.h:224