Forum Discussion
emile.kalank
8 months agoHonored Guest
Swapping two snap interactors
Hi ! I'm working on a game where the player can grab objects and snap them to slots, and I can't find a way to implement a system where you could basically swap to objects from their respective slots. Let me give you an example.
ObjectA is snapped to SlotA, and ObjectB to SlotB. Currently, if I grab ObjectA and try to snap it to SlotB, it won't work because there's already a SnapInteractor (ObjectB) attached to SlotB. (btw I know you can increase the amount of interactors, but it only results in the two objects being snapped to the same slot which is not what I want)
What i'd like it to do instead is : When releasing ObjectA on SlotB, it snaps it correctly, and ObjectB is now snapped to SlotA as well. Also it's important to me that we use Snap interactions - even with modifications - than a fully custom solution, which we already have.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 3 years ago