Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
sirtario9's avatar
sirtario9
Honored Guest
1 year ago

Dynamic Grab Colliders

Hey Everyone!

I am currently developing an App where I want to Snap Bricks together like Lego. I am using Unity 2022.3.12f1 with the latest Meta SDK (v.65) 

After Snapping my bricks are organised in a Parent Child relation. I am deactivating the Grab objects of all Children. This obviously leads to the children not being grabbable any longer. Now if I build a parent-child relation in the editor and make the Parent Grabbable the child gets treated like a part of the parent. I can grab it and the whole construct gets grabbed and I can move it.

This does not work with my running code. 

My Expectation is that the GrabInteractors of the Parent also use the Colliders of the Children after I deactivate the Grabbable scripts of the children but this is not the case. 

Replies have been turned off for this discussion