Class SubShape

All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<ConstJoltPhysicsObject>

public class SubShape extends JoltPhysicsObject
An element of a compound shape. (native type: CompoundShape::SubShape)
  • Method Details

    • getRotation

      public Quat getRotation()
      Copy the rotation. The subshape is unaffected.
      Returns:
      a new quaternion