Interface ConstWheelSettings

All Superinterfaces:
Comparable<ConstJoltPhysicsObject>, ConstJoltPhysicsObject
All Known Implementing Classes:
WheelSettings, WheelSettingsWv

public interface ConstWheelSettings extends ConstJoltPhysicsObject
Read-only access to WheelSettings. (native type: const WheelSettings)
  • Method Details

    • getPosition

      Vec3 getPosition()
      Copy the location of the attachment point. The settings are unaffected.
      Returns:
      a new location vector (in the body's local system)
    • getRadius

      float getRadius()
      Return the radius of the wheel. The settings are unaffected.
      Returns:
      the radius (in maters)
    • getWidth

      float getWidth()
      Return the width of the wheel. The settings are unaffected.
      Returns:
      the width (in maters)