Overlap
Last updated
Last updated
Picks items based on condition that they overlap with geometric body of given shape.
On top of common parameters that are listed above this test following parameters.
Shape
Shape for checking overlap
Up Offset
Vertical offset of shape
Culling Layer
Layermask of "visible" for overlap layers
Box
Has shape of cuboid. You can specify it's half extents
Sphere
Has shape of sphere. You can specify it's radius
In the picture below overlap test is used to exclude items that are close to walls.
To achieve this effect set Test Purpose to "Filter Only". Set Filter Type to "Maximum" and then set Max Value to any non-negative value (in example Max Value is 0). Then set Shape to "Sphere" and specify it's parameters. In example Up Offset is 2, Radius is 1.5 and Culling Layer is "Everything".