java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleAntiRollTorque
The anti-roll torque of all anti-roll bars accumulates in a single torque to apply
to the vehicle's rigid body.
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxVehicleAntiRollTorquearrayGet(long baseAddress, int index) voiddestroy()The accumulated torque to apply to the rigid body.voidsetAntiRollTorque(PxVec3 value) The accumulated torque to apply to the rigid body.voidstatic PxVehicleAntiRollTorquewrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxVehicleAntiRollTorque
protected PxVehicleAntiRollTorque(long address) -
PxVehicleAntiRollTorque
public PxVehicleAntiRollTorque()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getAntiRollTorque
The accumulated torque to apply to the rigid body. Note: antiRollTorque is expressed in the world frame.Unit: mass * (length^2) / (time^2)
-
setAntiRollTorque
The accumulated torque to apply to the rigid body. Note: antiRollTorque is expressed in the world frame.Unit: mass * (length^2) / (time^2)
-
setToDefault
public void setToDefault()
-