java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleTireForce
The longitudinal/lateral forces/torques that develop on the tire.
-
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 PxVehicleTireForcearrayGet(long baseAddress, int index) voiddestroy()floatThe aligning moment may be propagated to a torque-driven steering controller.getForces(int index) getTorques(int index) floatThe torque to apply to the wheel's 1d rigid body.voidsetAligningMoment(float value) The aligning moment may be propagated to a torque-driven steering controller.voidvoidvoidsetTorques(int index, PxVec3 value) voidsetWheelTorque(float value) The torque to apply to the wheel's 1d rigid body.static PxVehicleTireForcewrapPointer(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
-
PxVehicleTireForce
protected PxVehicleTireForce(long address) -
PxVehicleTireForce
public PxVehicleTireForce()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getForces
- Parameters:
index- Array index- Returns:
- WebIDL type:
PxVec3[Value]
-
setForces
- Parameters:
index- Array indexvalue- WebIDL type:PxVec3[Value]
-
getTorques
- Parameters:
index- Array index- Returns:
- WebIDL type:
PxVec3[Value]
-
setTorques
- Parameters:
index- Array indexvalue- WebIDL type:PxVec3[Value]
-
getAligningMoment
public float getAligningMoment()The aligning moment may be propagated to a torque-driven steering controller. -
setAligningMoment
public void setAligningMoment(float value) The aligning moment may be propagated to a torque-driven steering controller. -
getWheelTorque
public float getWheelTorque()The torque to apply to the wheel's 1d rigid body. -
setWheelTorque
public void setWheelTorque(float value) The torque to apply to the wheel's 1d rigid body. -
setToDefault
public void setToDefault()
-