Documentation

Unity Engine


User Manual

Script Reference

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 7 days ago

Definition

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