Documentation

Unity Engine

Download Unity

Unity Engine

definition

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

Definition

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