Class PxVehicleCommandResponseParams

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleCommandResponseParams
Direct Known Subclasses:
PxVehicleBrakeCommandResponseParams, PxVehicleDirectDriveThrottleCommandResponseParams, PxVehicleSteerCommandResponseParams

public class PxVehicleCommandResponseParams extends NativeObject
A description of the per wheel response to an input command.
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleCommandResponseParams

      protected PxVehicleCommandResponseParams(long address)
    • PxVehicleCommandResponseParams

      public PxVehicleCommandResponseParams()
  • Method Details

    • wrapPointer

      public static PxVehicleCommandResponseParams wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getNonlinearResponse

      public PxVehicleCommandNonLinearResponseParams getNonlinearResponse()
      A nonlinear response to command value expressed as a lookup table of normalized response as a function of command value and longitudinal speed. Note: The effect of the default state of nonlinearResponse is a linear response to command value that is independent of longitudinal speed.
    • setNonlinearResponse

      public void setNonlinearResponse(PxVehicleCommandNonLinearResponseParams value)
      A nonlinear response to command value expressed as a lookup table of normalized response as a function of command value and longitudinal speed. Note: The effect of the default state of nonlinearResponse is a linear response to command value that is independent of longitudinal speed.
    • getWheelResponseMultipliers

      public float getWheelResponseMultipliers(int index)
      Parameters:
      index - Array index
      Returns:
      WebIDL type: float
    • setWheelResponseMultipliers

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

      public float getMaxResponse()
      The maximum response that occurs when the wheel response multiplier has value 1.0 and nonlinearResponse is in the default state of linear response.
    • setMaxResponse

      public void setMaxResponse(float value)
      The maximum response that occurs when the wheel response multiplier has value 1.0 and nonlinearResponse is in the default state of linear response.