Class MotorSettings

java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.constraint.MotorSettings
All Implemented Interfaces:
JoltNative

public final class MotorSettings extends SegmentedJoltNative
MotorSettings relies on preview features of the Java platform:
Programs can only use MotorSettings when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
  • Method Details

    • at

      public static MotorSettings at(MemorySegmentPREVIEW segment)
    • at

      public static MotorSettings at(MemorySessionPREVIEW alloc, MemoryAddressPREVIEW addr)
    • of

      public static MotorSettings of(SegmentAllocatorPREVIEW alloc)
    • getFrequency

      public float getFrequency()
    • setFrequency

      public void setFrequency(float frequency)
    • getDamping

      public float getDamping()
    • setDamping

      public void setDamping(float damping)
    • getMinForceLimit

      public float getMinForceLimit()
    • setMinForceLimit

      public void setMinForceLimit(float minForceLimit)
    • getMaxForceLimit

      public float getMaxForceLimit()
    • setMaxForceLimit

      public void setMaxForceLimit(float maxForceLimit)
    • getMinTorqueLimit

      public float getMinTorqueLimit()
    • setMinTorqueLimit

      public void setMinTorqueLimit(float minTorqueLimit)
    • getMaxTorqueLimit

      public float getMaxTorqueLimit()
    • setMaxTorqueLimit

      public void setMaxTorqueLimit(float maxTorqueLimit)
    • setForceLimits

      public void setForceLimits(float min, float max)
    • setTorqueLimits

      public void setTorqueLimits(float min, float max)
    • isValid

      public boolean isValid()