ChainShape(Vertices, Boolean) Constructor |
Create a new chainshape from the vertices.
Namespace: Internal.tainicom.Aether.Physics2D.Collision.ShapesAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic 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