Class PxVehicleSuspensionStateCalculationParams

java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleSuspensionStateCalculationParams

public class PxVehicleSuspensionStateCalculationParams extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxVehicleSuspensionStateCalculationParams

      protected PxVehicleSuspensionStateCalculationParams(long address)
    • PxVehicleSuspensionStateCalculationParams

      public PxVehicleSuspensionStateCalculationParams()
  • Method Details

    • wrapPointer

      public static PxVehicleSuspensionStateCalculationParams wrapPointer(long address)
    • arrayGet

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

      public void destroy()
    • getSuspensionJounceCalculationType

      public PxVehicleSuspensionJounceCalculationTypeEnum getSuspensionJounceCalculationType()
    • setSuspensionJounceCalculationType

      public void setSuspensionJounceCalculationType(PxVehicleSuspensionJounceCalculationTypeEnum value)
    • getLimitSuspensionExpansionVelocity

      public boolean getLimitSuspensionExpansionVelocity()
      Limit the suspension expansion dynamics.

      If a hit with the ground is detected, the suspension jounce will be set such that the wheel is placed on the ground. This can result in large changes to jounce within a single simulation frame, if the ground surface has high frequency or if the simulation time step is large. As a result, large damping forces can evolve and cause undesired behavior. If this parameter is set to true, the suspension expansion speed will be limited to what can be achieved given the time step, suspension stiffness etc. As a consequence, handling of the vehicle will be affected as the wheel might loose contact with the ground more easily.

    • setLimitSuspensionExpansionVelocity

      public void setLimitSuspensionExpansionVelocity(boolean value)
      Limit the suspension expansion dynamics.

      If a hit with the ground is detected, the suspension jounce will be set such that the wheel is placed on the ground. This can result in large changes to jounce within a single simulation frame, if the ground surface has high frequency or if the simulation time step is large. As a result, large damping forces can evolve and cause undesired behavior. If this parameter is set to true, the suspension expansion speed will be limited to what can be achieved given the time step, suspension stiffness etc. As a consequence, handling of the vehicle will be affected as the wheel might loose contact with the ground more easily.

    • transformAndScale

      public PxVehicleSuspensionStateCalculationParams transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale)
      Parameters:
      srcFrame - WebIDL type: PxVehicleFrame [Const, Ref]
      trgFrame - WebIDL type: PxVehicleFrame [Const, Ref]
      srcScale - WebIDL type: PxVehicleScale [Const, Ref]
      trgScale - WebIDL type: PxVehicleScale [Const, Ref]
      Returns:
      WebIDL type: PxVehicleSuspensionStateCalculationParams [Value]
    • isValid

      public boolean isValid()
      Returns:
      WebIDL type: boolean