Scripting API

Joint2D

class in UnityEngine · UnityEngine.Physics2DModule · inherits from Behaviour

11 of 11 of Unity's membersUnity's documentation
In Tassix

Base of the 2D joints (Box2D joints, see tassix_physics2d): this object's Rigidbody2D joined to connectedBody, or to the world.

Properties 8

Rigidbody2D? attachedRigidbody { get; }
JointBreakAction2D breakAction { get; set; }
float breakForce { get; set; }
float breakTorque { get; set; }
Rigidbody2D? connectedBody { get; set; }
bool enableCollision { get; set; }
Vector2 reactionForce { get; }
float reactionTorque { get; }

Methods 2

Vector2 GetReactionForce(float timeStep)
float GetReactionTorque(float timeStep)