Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


swapBodies

Enable this property to swap the order in which the physics engine processes the Rigidbodies involved in the joint. This results in different joint motion but has no impact on Rigidbodies and anchors.
Read time 1 minuteLast updated 9 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.PhysicsModule
public bool swapBodies { get; set; }

Remarks

Prior to Unity 3.4, this was wrongfully applied to all ConfigurableJoints with the configuredInWorldSpace property set. If you want to restore the behaviour of older Unity versions and you are using configuredInWorldSpace, enable this property.