Class CollideShapeResult

java.lang.Object
jolt.BaseJoltNative
jolt.SegmentedJoltNative
jolt.physics.collision.CollideShapeResult
All Implemented Interfaces:
JoltNative

public final class CollideShapeResult extends SegmentedJoltNative
CollideShapeResult relies on preview features of the Java platform:
Programs can only use CollideShapeResult 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 CollideShapeResult at(MemorySegmentPREVIEW segment)
    • at

    • of

      public static CollideShapeResult of(SegmentAllocatorPREVIEW alloc)
    • getContactPointOn1

      public FVec3 getContactPointOn1()
    • getContactPointOn2

      public FVec3 getContactPointOn2()
    • getPenetrationAxis

      public FVec3 getPenetrationAxis()
    • getPenetrationDepth

      public float getPenetrationDepth()
    • setPenetrationDepth

      public void setPenetrationDepth(float penetrationDepth)
    • getSubShapeId1

      public int getSubShapeId1()
    • setSubShapeId1

      public void setSubShapeId1(int subShapeId1)
    • getSubShapeId2

      public int getSubShapeId2()
    • setSubShapeId2

      public void setSubShapeId2(int subShapeId2)
    • getBodyId2

      public int getBodyId2()
    • setBodyId2

      public void setBodyId2(int bodyId2)
    • getEarlyOutFraction

      public float getEarlyOutFraction()
    • reversed

      public void reversed(CollideShapeResult out)