Skip to main content
moritz1434602
Participant
July 31, 2024

Check if object is snapped

Hi everybody,

I am trying to implment an interaction where the user (1) grabs an Interactable object and snaps it to a predefined position and then (2) has the option to translate transform that same object to a specific position. 

I did encount a few problems/question that I couldn't solve yet. 

1. How can I check, if an object is snapped to a predefined snaplocation? I want to achieve, that I then can deactivate and activate the relevant Grab Transformers and maybe snap locations

2. How can I check, if an object is transformed (through one grab translate transformer) to a specific position and then lock it there while still active? I want the object to be able to be translate-transformed again, but only on  a release and grab, not while keeping it grabbed (active). 

 

Any help is greatly appreciated. I suppose I have to code a little bit which I don't have a big problem with, however a starting point would be of great help to me.

Thank you 🙂

This topic has been closed for replies.

4 replies

moritz1434602
Participant
July 31, 2024

Big_Flex can you have a look at this? 

BigFlex
Meta Employee
July 31, 2024

Hi moritz, I've switched teams and no longer work on Interaction SDK, but you can direct any questions to ffejnosliw. Thanks, and best of luck 🙂  

moritz1434602
Participant
August 5, 2024

Thank you for your reply! Is the user you tagged the right one? He hasn't been online since 2021...

BigFlex
Meta Employee
August 5, 2024

Yup, he's the right one! That was his personal account before he joined Meta a few weeks ago, which is why it's been inactive for so long.