Creates a chain.
Namespace: Internal.tainicom.Aether.Physics2D.DynamicsAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic Path CreateChain(
Vector2 start,
Vector2 end,
float linkWidth,
float linkHeight,
int numberOfLinks,
float linkDensity,
bool attachRopeJoint
)
Parameters
- start Vector2
- The start.
- end Vector2
- The end.
- linkWidth Single
- The width.
- linkHeight Single
- The height.
- numberOfLinks Int32
- The number of links.
- linkDensity Single
- The link density.
- attachRopeJoint Boolean
- 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
Path
See Also