Click or drag to resize

PathManagerEvenlyDistributeShapesAlongPath(World, Path, Shape, BodyType, Int32, Object) Method

Duplicates the given Body along the given path for approximatly the given copies.

Namespace: Internal.tainicom.Aether.Physics2D.Common
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static List<Body> EvenlyDistributeShapesAlongPath(
	World world,
	Path path,
	Shape shape,
	BodyType type,
	int copies,
	Object userData = null
)

Parameters

world  World
The world.
path  Path
The path.
shape  Shape
The shape.
type  BodyType
The type.
copies  Int32
The copies.
userData  Object  (Optional)
The user data.

Return Value

ListBody
See Also