Click or drag to resize

PathManagerEvenlyDistributeShapesAlongPath(World, Path, IEnumerableShape, 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,
	IEnumerable<Shape> shapes,
	BodyType type,
	int copies,
	Object userData = null
)

Parameters

world  World
The world.
path  Path
The path.
shapes  IEnumerableShape
The shapes.
type  BodyType
The type.
copies  Int32
The copies.
userData  Object  (Optional)

Return Value

ListBody
See Also