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

public class Part extends BodyCreationSettings
Settings used to generate a rigid body in a Ragdoll. (native type: RagdollSettings::Part)
  • Method Details

    • getToParent

      public ConstraintSettings getToParent(EConstraintSubType subType)
      Return the settings to create the joint to the part's parent. The part is unaffected. (native attribute: mToParent)
      Parameters:
      subType - the expected type of constraint (not null)
      Returns:
      a new JVM with the pre-existing native object assigned
    • setToParent

      public void setToParent(ConstraintSettings settings)
      Alter the settings to create the joint to the part's parent. (native attribute: mToParent)
      Parameters:
      settings - the desired settings (not null)