Class PxVehicleWheelConstraintGroupState

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleWheelConstraintGroupState

public class PxVehicleWheelConstraintGroupState extends NativeObject
Specify groups of wheels that are to be constrained to have pre-determined angular velocity relationship.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleWheelConstraintGroupState

      protected PxVehicleWheelConstraintGroupState(long address)
    • PxVehicleWheelConstraintGroupState

      public PxVehicleWheelConstraintGroupState()
  • Method Details

    • wrapPointer

      public static PxVehicleWheelConstraintGroupState wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getNbGroups

      public int getNbGroups()
      The number of constraint groups in the vehicle
    • setNbGroups

      public void setNbGroups(int value)
      The number of constraint groups in the vehicle
    • getNbWheelsPerGroup

      public int getNbWheelsPerGroup(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: unsigned long
    • setNbWheelsPerGroup

      public void setNbWheelsPerGroup(int index, int value)
      Parameters:
      index - Array index
      value - WebIDL type: unsigned long
    • getGroupToWheelIds

      public int getGroupToWheelIds(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: unsigned long
    • setGroupToWheelIds

      public void setGroupToWheelIds(int index, int value)
      Parameters:
      index - Array index
      value - WebIDL type: unsigned long
    • getWheelIdsInGroupOrder

      public int getWheelIdsInGroupOrder(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: unsigned long
    • setWheelIdsInGroupOrder

      public void setWheelIdsInGroupOrder(int index, int value)
      Parameters:
      index - Array index
      value - WebIDL type: unsigned long
    • getWheelMultipliersInGroupOrder

      public float getWheelMultipliersInGroupOrder(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: float
    • setWheelMultipliersInGroupOrder

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

      public int getNbWheelsInGroups()
      The number of wheels in a constraint group.
    • setNbWheelsInGroups

      public void setNbWheelsInGroups(int value)
      The number of wheels in a constraint group.
    • setToDefault

      public void setToDefault()
    • getNbConstraintGroups

      public int getNbConstraintGroups()
      Return the number of wheel constraint groups in the vehicle.
      Returns:
      The number of wheel constraint groups.
      See Also:
    • getNbWheelsInConstraintGroup

      public int getNbWheelsInConstraintGroup(int i)
      Return the number of wheels in the ith constraint group.
      Parameters:
      i - specifies the constraint group to be queried for its wheel count.
      Returns:
      The number of wheels in the specified constraint group.
      See Also:
    • getWheelInConstraintGroup

      public int getWheelInConstraintGroup(int j, int i)
      Return the wheel id of the jth wheel in the ith constraint group.
      Parameters:
      j - specifies that the wheel id to be returned is the jth wheel in the list of wheels on the specified constraint group.
      i - specifies the constraint group to be queried.
      Returns:
      The wheel id of the jth wheel in the ith constraint group.
      See Also:
    • getMultiplierInConstraintGroup

      public float getMultiplierInConstraintGroup(int j, int i)
      Return the constraint multiplier of the jth wheel in the ith constraint group
      Parameters:
      j - specifies that the wheel id to be returned is the jth wheel in the list of wheels on the specified constraint group.
      i - specifies the constraint group to be queried.
      Returns:
      The constraint multiplier of the jth wheel in the ith constraint group.