Class PxVehiclePhysXConstraintState

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehiclePhysXConstraintState

public class PxVehiclePhysXConstraintState extends NativeObject
PxVehiclePhysXConstraintState is a data structure used to write constraint data to the internal state of the associated PxScene.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehiclePhysXConstraintState

      protected PxVehiclePhysXConstraintState(long address)
    • PxVehiclePhysXConstraintState

      public PxVehiclePhysXConstraintState()
  • Method Details

    • wrapPointer

      public static PxVehiclePhysXConstraintState wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getTireActiveStatus

      public boolean getTireActiveStatus(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: boolean
    • setTireActiveStatus

      public void setTireActiveStatus(int index, boolean value)
      Parameters:
      index - Array index
      value - WebIDL type: boolean
    • getTireLinears

      public PxVec3 getTireLinears(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: PxVec3 [Value]
    • setTireLinears

      public void setTireLinears(int index, PxVec3 value)
      Parameters:
      index - Array index
      value - WebIDL type: PxVec3 [Value]
    • getTireAngulars

      public PxVec3 getTireAngulars(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: PxVec3 [Value]
    • setTireAngulars

      public void setTireAngulars(int index, PxVec3 value)
      Parameters:
      index - Array index
      value - WebIDL type: PxVec3 [Value]
    • getTireDamping

      public float getTireDamping(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: float
    • setTireDamping

      public void setTireDamping(int index, float value)
      Parameters:
      index - Array index
      value - WebIDL type: float
    • getSuspActiveStatus

      public boolean getSuspActiveStatus()
      a boolean describing whether to trigger a suspension limit constraint.
    • setSuspActiveStatus

      public void setSuspActiveStatus(boolean value)
      a boolean describing whether to trigger a suspension limit constraint.
    • getSuspLinear

      public PxVec3 getSuspLinear()
      linear component of velocity jacobian in the world frame.
    • setSuspLinear

      public void setSuspLinear(PxVec3 value)
      linear component of velocity jacobian in the world frame.
    • getSuspAngular

      public PxVec3 getSuspAngular()
      angular component of velocity jacobian in the world frame.
    • setSuspAngular

      public void setSuspAngular(PxVec3 value)
      angular component of velocity jacobian in the world frame.
    • getSuspGeometricError

      public float getSuspGeometricError()
      the excess suspension compression to be resolved by the constraint that cannot be resolved due to the travel limit of the suspension spring.

      Note: The expected error value is the excess suspension compression projected onto the ground plane normal and should have a negative sign.

    • setSuspGeometricError

      public void setSuspGeometricError(float value)
      the excess suspension compression to be resolved by the constraint that cannot be resolved due to the travel limit of the suspension spring.

      Note: The expected error value is the excess suspension compression projected onto the ground plane normal and should have a negative sign.

    • getRestitution

      public float getRestitution()
      restitution value of the restitution model used to generate a target velocity that will resolve the geometric error. Note: A value of 0.0 means that the restitution model is not employed.
    • setRestitution

      public void setRestitution(float value)
      restitution value of the restitution model used to generate a target velocity that will resolve the geometric error. Note: A value of 0.0 means that the restitution model is not employed.
    • setToDefault

      public void setToDefault()