Interface ConstTrackedVehicleControllerSettings

All Superinterfaces:
AutoCloseable, Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject, ConstSerializableObject, ConstVehicleControllerSettings
All Known Implementing Classes:
TrackedVehicleControllerSettings

public interface ConstTrackedVehicleControllerSettings extends ConstVehicleControllerSettings
Read-only access to a TrackedVehicleControllerSettings object. (native type: const TrackedVehicleControllerSettings)
  • Method Details

    • getEngine

      Access the engine settings.
      Returns:
      a new JVM object with the pre-existing native object assigned
    • getNumTracks

      int getNumTracks()
      Count how many tracks the vehicle will have. The settings are unaffected.
      Returns:
      the count (2)
    • getTrack

      VehicleTrackSettings getTrack(int index)
      Access the settings for the specified track.
      Parameters:
      index - the index of the track to access (≥0, ≤1)
      Returns:
      a new JVM object with the pre-existing native object assigned
    • getTransmission

      VehicleTransmissionSettings getTransmission()
      Access the transmission (gearbox) settings.
      Returns:
      a new JVM object with the pre-existing native object assigned