HingeJoint2D
class in UnityEngine · UnityEngine.Physics2DModule · inherits from AnchoredJoint2D
In Tassix
Rotation about the anchor, with an optional motor and limits.
Properties 9
float jointAngle { get; }Degrees: the connected body's rotation relative to this one, from the start.
float jointSpeed { get; }Degrees per second.
JointLimitState2D limitState { get; }JointAngleLimits2D limits { get; set; }JointMotor2D motor { get; set; }float referenceAngle { get; }bool useConnectedAnchor { get; set; }bool useLimits { get; set; }bool useMotor { get; set; }Methods 1
float GetMotorTorque(float timeStep)