Class PxVehicleWheelRigidBody1dState

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleWheelRigidBody1dState

public class PxVehicleWheelRigidBody1dState extends NativeObject
  • 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

      public static PxVehicleWheelRigidBody1dState wrapPointer(long address)
    • arrayGet

      public static PxVehicleWheelRigidBody1dState arrayGet(long baseAddress, int index)
    • 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()