Interaction SDK Best Practices
Updated: Oct 7, 2024
The following are best practices to keep in mind when creating interactions.
Avoid overlapping pointable surfaces with poke and ray interactables
In general, you should use a single interactable component and pointable surface when setting up poke interactables or ray interactables. It is possible to add multiple interactable and pointable plane components to a single Actor. If your use case is unique and requires multiple interactables, you should try to avoid the pointable surfaces overlapping as the interactor becomes confused. If they do overlap, a minimum offset of 1.0 unit is usually enough to differentiate one surface from the other when detecting interactions.
Add Poke Config Data Asset for each type or group of Poke Interactions
The Config Asset for the Poke Interactable is a shared data asset.