java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleWheelRigidBody1dState
-
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 TypeMethodDescriptionarrayGet(long baseAddress, int index) voiddestroy()floatThe corrected rotation speed of the wheel around the lateral axis in radians per second.floatThe accumulated angle of the wheel around the lateral axis in radians in range (-2*Pi,2*Pi)floatThe rotation speed of the wheel around the lateral axis.voidsetCorrectedRotationSpeed(float value) The corrected rotation speed of the wheel around the lateral axis in radians per second.voidsetRotationAngle(float value) The accumulated angle of the wheel around the lateral axis in radians in range (-2*Pi,2*Pi)voidsetRotationSpeed(float value) The rotation speed of the wheel around the lateral axis.voidwrapPointer(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
-
PxVehicleWheelRigidBody1dState
protected PxVehicleWheelRigidBody1dState(long address) -
PxVehicleWheelRigidBody1dState
public PxVehicleWheelRigidBody1dState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getRotationSpeed
public float getRotationSpeed()The rotation speed of the wheel around the lateral axis.Unit: radians / time
-
setRotationSpeed
public void setRotationSpeed(float value) The rotation speed of the wheel around the lateral axis.Unit: radians / time
-
getCorrectedRotationSpeed
public float getCorrectedRotationSpeed()The corrected rotation speed of the wheel around the lateral axis in radians per second.At low forward wheel speed, the wheel rotation speed can get unstable (depending on the tire model used) and, for example, oscillate. To integrate the wheel rotation angle, a (potentially) blended rotation speed is used which gets stored in #correctedRotationSpeed.
Unit: radians / time
-
setCorrectedRotationSpeed
public void setCorrectedRotationSpeed(float value) The corrected rotation speed of the wheel around the lateral axis in radians per second.At low forward wheel speed, the wheel rotation speed can get unstable (depending on the tire model used) and, for example, oscillate. To integrate the wheel rotation angle, a (potentially) blended rotation speed is used which gets stored in #correctedRotationSpeed.
Unit: radians / time
-
getRotationAngle
public float getRotationAngle()The accumulated angle of the wheel around the lateral axis in radians in range (-2*Pi,2*Pi) -
setRotationAngle
public void setRotationAngle(float value) The accumulated angle of the wheel around the lateral axis in radians in range (-2*Pi,2*Pi) -
setToDefault
public void setToDefault()
-