PathManagerAttachBodiesWithRevoluteJoint Method |
Attaches the bodies with revolute joints.
Namespace: Internal.tainicom.Aether.Physics2D.CommonAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static List<RevoluteJoint> AttachBodiesWithRevoluteJoint(
World world,
List<Body> bodies,
Vector2 localAnchorA,
Vector2 localAnchorB,
bool connectFirstAndLast,
bool collideConnected
)
Parameters
- world World
- The world.
- bodies ListBody
- The bodies.
- localAnchorA Vector2
- The local anchor A.
- localAnchorB Vector2
- The local anchor B.
- connectFirstAndLast Boolean
- if set to true [connect first and last].
- collideConnected Boolean
- if set to true [collide connected].
Return Value
ListRevoluteJoint
See Also