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); }
public void FixChildJoints() { PhysicsRigUtils.FixChildJointsAfterScalingParent(transform); }