Documentation

Unity Engine

Unity Engine

definition

Get or set the joint definition. Reading returns the joint's current configuration, including PhysicsDistanceJoint.bodyA and PhysicsDistanceJoint.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 18 days ago

Definition

  • Type: Property
  • Namespace: Unity.U2D.Physics
  • Assembly: UnityEngine.PhysicsCore2DModule
public PhysicsDistanceJointDefinition definition { get; set; }