Interface ConstVehicleTrackSettings

All Superinterfaces:
AutoCloseable, Comparable<JoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
VehicleTrackSettings

public interface ConstVehicleTrackSettings extends ConstJoltPhysicsObject
Read-only access to a VehicleTrackSettings object. (native type: const VehicleTrackSettings)
  • Method Details

    • getAngularDamping

      float getAngularDamping()
      Return the angular damping factor. The settings are unaffected.
      Returns:
      the damping factor (per second)
    • getDifferentialRatio

      float getDifferentialRatio()
      Return the number of gearbox rotations per driven-wheel rotation. The settings are unaffected.
      Returns:
      the ratio
    • getDrivenWheel

      int getDrivenWheel()
      Return the index of the wheel powered by the engine. The settings are unaffected.
      Returns:
      the index of the driven wheel (≥0)
    • getInertia

      float getInertia()
      Return the moment of inertia of the track and its wheels as seen on the driven wheel. The settings are unaffected.
      Returns:
      the moment (in kilogram.meter^2)
    • getNumWheels

      int getNumWheels()
      Count the track's wheels. The settings are unaffected.
      Returns:
      the count (≥0)