public static void ScaleEnd(Transform parent, ResetableRigidbody[] resetables, bool isKinematicAfter = false)
 {
     PhysicsRigUtils.ResetRigTransform(resetables, false);
     PhysicsRigUtils.FixChildJointsAfterScalingParent(parent);
     PhysicsRigUtils.ResetRigTransform(resetables, false, true);
     PhysicsRigUtils.ToggleRigKinematic(resetables, isKinematicAfter);
 }
예제 #2
0
 public void FixChildJoints()
 {
     PhysicsRigUtils.FixChildJointsAfterScalingParent(transform);
 }