Class TaperedCapsuleShapeSettings

All Implemented Interfaces:
Deletable, JoltNative

public final class TaperedCapsuleShapeSettings extends ConvexShapeSettings
TaperedCapsuleShapeSettings relies on preview features of the Java platform:
  • TaperedCapsuleShapeSettings refers to one or more preview APIs: MemoryAddress.
Programs can only use TaperedCapsuleShapeSettings 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

    • of

      public static TaperedCapsuleShapeSettings of(float halfHeight, float topRadius, float bottomRadius, @Nullable PhysicsMaterial material)
    • of

      public static TaperedCapsuleShapeSettings of(float halfHeight, float topRadius, float bottomRadius)
    • getHalfHeight

      public float getHalfHeight()
    • setHalfHeight

      public void setHalfHeight(float halfHeight)
    • getTopRadius

      public float getTopRadius()
    • setTopRadius

      public void setTopRadius(float topRadius)
    • getBottomRadius

      public float getBottomRadius()
    • setBottomRadius

      public void setBottomRadius(float bottomRadius)