Joint2D 二维关节

Namespace: UnityEngine

Inherits from: Behaviour

Description 描述

Parent class for joints to connect Rigidbody2D objects.


See Also: AnchoredJoint2D class.

Variables 变量

collideConnected Can the joint collide with the other Rigidbody2D object to which it is attached?
connectedBodyThe Rigidbody2D object to which the other end of the joint is attached (ie, the object without the joint component).