Click or drag to resize

WorldCreateChain Method

Creates a chain.

Namespace:  Internal.tainicom.Aether.Physics2D.Dynamics
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public Path CreateChain(
	Vector2 start,
	Vector2 end,
	float linkWidth,
	float linkHeight,
	int numberOfLinks,
	float linkDensity,
	bool attachRopeJoint
)

Parameters

start
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The start.
end
Type: Internal.tainicom.Aether.Physics2D.CommonVector2
The end.
linkWidth
Type: SystemSingle
The width.
linkHeight
Type: SystemSingle
The height.
numberOfLinks
Type: SystemInt32
The number of links.
linkDensity
Type: SystemSingle
The link density.
attachRopeJoint
Type: SystemBoolean
Creates a rope joint between start and end. This enforces the length of the rope. Said in another way: it makes the rope less bouncy.

Return Value

Type: Path
See Also