Interface ConstPart
- All Superinterfaces:
AutoCloseable,Comparable<JoltPhysicsObject>,ConstBodyCreationSettings,ConstJoltPhysicsObject
- All Known Implementing Classes:
Part
Read-only access to a
Part. (native type:
const RagdollSettings::Part)-
Method Summary
Modifier and TypeMethodDescriptiongetToParent(EConstraintSubType subType) Return the settings to create the joint to the part's parent.Methods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstBodyCreationSettings
getAllowDynamicOrKinematic, getAllowedDofs, getAllowSleeping, getAngularDamping, getAngularVelocity, getAngularVelocity, getApplyGyroscopicForce, getCollideKinematicVsNonDynamic, getCollisionGroup, getEnhancedInternalEdgeRemoval, getFriction, getGravityFactor, getInertiaMultiplier, getIsSensor, getLinearDamping, getLinearVelocity, getLinearVelocity, getMassProperties, getMassPropertiesOverride, getMaxAngularVelocity, getMaxLinearVelocity, getMotionQuality, getMotionType, getNumPositionStepsOverride, getNumVelocityStepsOverride, getObjectLayer, getOverrideMassProperties, getPosition, getPosition, getRestitution, getRotation, getRotation, getShape, getShapeSettings, getUseManifoldReduction, getUserData, hasMassProperties, isEqual, saveBinaryState, saveWithChildrenMethods inherited from interface com.github.stephengold.joltjni.readonly.ConstJoltPhysicsObject
close, hasAssignedNativeObject, ownsNativeObject, targetVa, targetVaOrZero
-
Method Details
-
getToParent
Return the settings to create the joint to the part's parent. The part is unaffected.- Parameters:
subType- the expected type of constraint (notnull)- Returns:
- a new JVM with the pre-existing native object assigned
-