Class PxVehicleTireGripState

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleTireGripState

public class PxVehicleTireGripState extends NativeObject
The load and friction experienced by a tire.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleTireGripState

      protected PxVehicleTireGripState()
    • PxVehicleTireGripState

      protected PxVehicleTireGripState(long address)
  • Method Details

    • wrapPointer

      public static PxVehicleTireGripState wrapPointer(long address)
    • arrayGet

      public static PxVehicleTireGripState arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()
    • getLoad

      public float getLoad()
      The tire load

      Unit: force = mass * length / (time^2)

    • setLoad

      public void setLoad(float value)
      The tire load

      Unit: force = mass * length / (time^2)

    • getFriction

      public float getFriction()
      The tire friction is the product of the road geometry friction and a friction response multiplier.
    • setFriction

      public void setFriction(float value)
      The tire friction is the product of the road geometry friction and a friction response multiplier.
    • setToDefault

      public void setToDefault()