Requirements
Snap target requirements define constraints that determine which snappers are allowed to snap to it.
A number of requirements are included with the package:
Requirement | Description |
---|---|
Allow List | Allow only snappers in the list |
Block List | Disallow snappers in the list |
Max Distance | Maximum distance allowed between snapper and target |
Not Occupied | Only allow snapping if the target is not occupied |
Within Collider | Allow only if the snapper is within the referenced collider |
To create your own snap target requirements, simply create a class that inherits the ISnapTargetRequirement
interface.