Click or drag to resize

RopeJoint Constructor

Constructor for RopeJoint.

Namespace:  Internal.tainicom.Aether.Physics2D.Dynamics.Joints
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public RopeJoint(
	Body bodyA,
	Body bodyB,
	Vector2 anchorA,
	Vector2 anchorB,
	bool useWorldCoordinates = false
)

Parameters

bodyA
Type: Internal.tainicom.Aether.Physics2D.DynamicsBody
The first body
bodyB
Type: Internal.tainicom.Aether.Physics2D.DynamicsBody
The second body
anchorA
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The anchor on the first body
anchorB
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The anchor on the second body
useWorldCoordinates (Optional)
Type: SystemBoolean
Set to true if you are using world coordinates as anchors.
See Also