Package com.github.stephengold.joltjni
Class CompoundShapeSettings
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.NonCopyable
com.github.stephengold.joltjni.SerializableObject
com.github.stephengold.joltjni.ShapeSettings
com.github.stephengold.joltjni.CompoundShapeSettings
- All Implemented Interfaces:
ConstJoltPhysicsObject,RefTarget,AutoCloseable,Comparable<ConstJoltPhysicsObject>
- Direct Known Subclasses:
MutableCompoundShapeSettings,StaticCompoundShapeSettings
Settings used to construct a
CompoundShape.-
Method Summary
Modifier and TypeMethodDescriptionvoidaddShape(Vec3Arg offset, QuatArg rotation, ConstShape subShape) Add the specified subshape at the specified position.voidAdd the specified subshape at the specified position.voidaddShape(Vec3Arg offset, QuatArg rotation, ShapeSettings subSettings) Add the specified subshape at the specified position.Methods inherited from class com.github.stephengold.joltjni.ShapeSettings
clearCachedResult, create, getRefCount, setEmbedded, toRefMethods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, startCleaner, toString, va
-
Method Details
-
addShape
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
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
Add the specified subshape at the specified position.- Parameters:
offset- (not null, unaffected)rotation- (not null, not zero, unaffected)subSettings- (not null)
-