Class ConeConstraint

All Implemented Interfaces:
Deletable, JoltNative

public final class ConeConstraint extends TwoBodyConstraint
ConeConstraint relies on preview features of the Java platform:
  • ConeConstraint refers to one or more preview APIs: MemoryAddress.
Programs can only use ConeConstraint 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 ConeConstraint at(MemoryAddressPREVIEW addr)
    • setHalfConeAngle

      public void setHalfConeAngle(float halfConeAngle)
    • getCosHalfConeAngle

      public float getCosHalfConeAngle()
    • getTotalLambdaPosition

      public void getTotalLambdaPosition(FVec3 out)
    • getTotalLambdaRotation

      public float getTotalLambdaRotation()