Joint.connectedBodyvar connectedBody : RigidbodyDescriptionA reference to another rigidbody this joint connects to. If not set, the joint connects the object to the world.
JavaScript
// Connects the joint to the world instead of another rigidbody using UnityEngine; import UnityEngine |
