Volume¶
Puts a box, sphere, cylinder or capsule in the scene so other systems can keep things inside it, push them out of it, or place things in it.
Add Component → Jungle → Spatial → Volume.
Namespace: Jungle.Spatial
Overview¶
Pick the volume type and select the object to resize it with handles in the Scene view. Any field that takes a volume can point here with Volume From Component, so a constraint, a spawner and a detector can all share the same region.
Inspector
Spawn Area
Volume? ⇅ ⋮
VolumeBox
Center000
Size414
Local Space
Fields¶
| Field | What it does |
|---|---|
| Volume | Box, Sphere, Cylinder or Capsule, with its size. |
| Local Space | On (default): the volume moves, turns and scales with this object, and works inside a prefab. Off: its centre is a world position. |