You need to specify an anchor point where they are attached.
The position of the anchor point is important for computing the reaction torque.
Namespace: Internal.tainicom.Aether.Physics2D.Dynamics.JointsAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic WeldJoint(
Body bodyA,
Body bodyB,
Vector2 anchorA,
Vector2 anchorB,
bool useWorldCoordinates = false
)
Parameters
- bodyA Body
- The first body
- bodyB Body
- The second body
- anchorA Vector2
- The first body anchor.
- anchorB Vector2
- The second body anchor.
- useWorldCoordinates Boolean (Optional)
- Set to true if you are using world coordinates as anchors.
See Also