Click or drag to resize

ChainShape(Vertices, Boolean) Constructor

Create a new chainshape from the vertices.

Namespace: Internal.tainicom.Aether.Physics2D.Collision.Shapes
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public ChainShape(
	Vertices vertices,
	bool createLoop = false
)

Parameters

vertices  Vertices
The vertices to use. Must contain 2 or more vertices.
createLoop  Boolean  (Optional)
Set to true to create a closed loop. It connects the first vertice to the last, and automatically adjusts connectivity to create smooth collisions along the chain.
See Also