Class Part

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

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()
      Return the settings to create the joint to the part's parent. The part is unaffected. (native attribute: mToParent)
      Returns:
      a new JVM with the pre-exising 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)