definition
Get or set the joint definition. Reading returns the joint's current configuration, including PhysicsRelativeJoint.bodyA and PhysicsRelativeJoint.bodyB. Writing applies every configurable property in place but does not change the connected bodies, which are fixed when the joint is created.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsRelativeJointDefinition definition { get; set; }