API reference

Target Enum

Which target to use for the spawned object.

Enumeration Constants

MemberValueDescription
GLOBAL_MESH
1 << 0
RESERVED_MESH
1 << 1
The object will be spawned on a hit on the global mesh.
PHYSICS_LAYERS
1 << 2
Not suppoerted yet, same as GLOBAL_MESH.
CUSTOM_COLLIDERS
1 << 3
All physics layers defined will help determine the position.
CUSTOM_TAGS
1 << 4
Use a custom collider to determine the position.
SCENE_ANCHORS
1 << 5
use only gameobjects with custom tag, needs a collider