Click or drag to resize

PathManagerAttachBodiesWithRevoluteJoint Method

Attaches the bodies with revolute joints.

Namespace:  Internal.tainicom.Aether.Physics2D.Common
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static List<RevoluteJoint> AttachBodiesWithRevoluteJoint(
	World world,
	List<Body> bodies,
	Vector2 localAnchorA,
	Vector2 localAnchorB,
	bool connectFirstAndLast,
	bool collideConnected
)

Parameters

world
Type: Internal.tainicom.Aether.Physics2D.DynamicsWorld
The world.
bodies
Type: System.Collections.GenericListBody
The bodies.
localAnchorA
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The local anchor A.
localAnchorB
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The local anchor B.
connectFirstAndLast
Type: SystemBoolean
if set to true [connect first and last].
collideConnected
Type: SystemBoolean
if set to true [collide connected].

Return Value

Type: ListRevoluteJoint
See Also