Skip to content

Instantiate Random Object In Box

Instantiates random weighted prefabs inside a box volume.

Parameter Description
Prefabs Weighted prefab list to pick from.
Count Number of objects to spawn.
Center Transform used as center of the box volume.
Box Size Spawn box dimensions (X, Y, Z).
Rotation Optional random rotation variation per axis.
Scale Delta Optional random scale variation per axis.
Parent Optional parent transform for created objects.
Created Optional output list of created objects.