Class CompoundShapeSettings

All Implemented Interfaces:
ConstJoltPhysicsObject, RefTarget, AutoCloseable, Comparable<ConstJoltPhysicsObject>
Direct Known Subclasses:
MutableCompoundShapeSettings, StaticCompoundShapeSettings

public abstract class CompoundShapeSettings extends ShapeSettings
Settings used to construct a CompoundShape.
  • Method Details

    • addShape

      public void addShape(Vec3Arg offset, QuatArg rotation, ConstShape subShape)
      Add the specified subshape at the specified position.
      Parameters:
      offset - (not null, unaffected)
      rotation - (not null, not zero, unaffected)
      subShape - a reference to the subshape (not null)
    • addShape

      public void addShape(Vec3Arg offset, QuatArg rotation, ShapeRefC subRef)
      Add the specified subshape at the specified position.
      Parameters:
      offset - (not null, unaffected)
      rotation - (not null, not zero, unaffected)
      subRef - a reference to the subshape (not null)
    • addShape

      public void addShape(Vec3Arg offset, QuatArg rotation, ShapeSettings subSettings)
      Add the specified subshape at the specified position.
      Parameters:
      offset - (not null, unaffected)
      rotation - (not null, not zero, unaffected)
      subSettings - (not null)