Constructor for PulleyJoint.
Namespace: Internal.tainicom.Aether.Physics2D.Dynamics.JointsAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic PulleyJoint(
Body bodyA,
Body bodyB,
Vector2 anchorA,
Vector2 anchorB,
Vector2 worldAnchorA,
Vector2 worldAnchorB,
float ratio,
bool useWorldCoordinates = false
)
Parameters
- bodyA Body
- The first body.
- bodyB Body
- The second body.
- anchorA Vector2
- The anchor on the first body.
- anchorB Vector2
- The anchor on the second body.
- worldAnchorA Vector2
- The world anchor for the first body.
- worldAnchorB Vector2
- The world anchor for the second body.
- ratio Single
- The ratio.
- useWorldCoordinates Boolean (Optional)
- Set to true if you are using world coordinates as anchors.
See Also