Class TrackedVehicleControllerSettings

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

public class TrackedVehicleControllerSettings extends VehicleControllerSettings
Settings used to construct a TrackedVehicleController.
  • Constructor Details

    • TrackedVehicleControllerSettings

      public TrackedVehicleControllerSettings()
      Instantiate default settings.
  • Method Details

    • getNumTracks

      public int getNumTracks()
      Count how many tracks the vehicle will have. The settings are unaffected. (native attribute: mTracks)
      Returns:
      the count (≥0)
    • getTrack

      public VehicleTrackSettings getTrack(int index)
      Access the settings for the specified track. (native field: mTracks)
      Parameters:
      index - the index of the track to access (≥0)
      Returns:
      a new JVM object with the pre-existing native object assigned