cancel
Showing results for 
Search instead for 
Did you mean: 

Check if object is snapped

moritz
Explorer

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 🙂

4 REPLIES 4

moritz
Explorer

@Big_Flex can you have a look at this? 

Big_Flex
Meta Employee

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 🙂  

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

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.