Class WheeledVehicleControllerSettings

All Implemented Interfaces:
ConstJoltPhysicsObject, RefTarget, AutoCloseable, Comparable<ConstJoltPhysicsObject>

public class WheeledVehicleControllerSettings extends VehicleControllerSettings
Settings used to construct a WheeledVehicleController.
  • Constructor Details

    • WheeledVehicleControllerSettings

      public WheeledVehicleControllerSettings()
      Instantiate default settings.
  • Method Details

    • setDifferentialsLeftWheel

      public void setDifferentialsLeftWheel(int diffIndex, int wheelIndex)
      Alter the left wheel assigned to the specified differential.
      Parameters:
      diffIndex - the index of the differential (≥0)
      wheelIndex - the index of the wheel (≥0)
    • setDifferentialsRightWheel

      public void setDifferentialsRightWheel(int diffIndex, int wheelIndex)
      Alter the right wheel assigned to the specified differential.
      Parameters:
      diffIndex - the index of the differential (≥0)
      wheelIndex - the index of the wheel (≥0)
    • setNumDifferentials

      public void setNumDifferentials(int count)
      Alter the number of differentials. (native attribute: mDifferentials)
      Parameters:
      count - the desired number (≥0)