cancel
Showing results for 
Search instead for 
Did you mean: 

One Grab Translate Transformer also constraining rotation

Iseldiera
Protege

Hello I am currently using Unity 2022 LTS and Meta Interaction SDK v67 for my VR project.

I recently followed a Valem tutorial and found out about the one grab translate transformer component which is very handy when it comes to creating custom levers/interactables with constraints and I am using this for a hand-controlled player controller that allows the player to move on a flat plane in X and Z directions. The controller also allows the player to rotate its avatar by flicking your wrist to left and right (rotating the controller obj on its Y axis) that rotates the player's avatar.

Screenshot 2024-08-25 050845.pngScreenshot 2024-08-25 050857.png

With these settings I have a very nice constrained controller on the X and Z axes, however now rotating the controller object with hands does nothing, and therefore I am unable to rotate my player. 

Note that there is a separate One Grab Rotate Transformer which allows you to do some constraining for rotation, I did NOT use that component in my project.
I was wondering if there is any way for me to use the One Grab Translate Transformer yet retain the rotation (at least on Y axis) on the grabbable object. 

Thanks in advance!

0 REPLIES 0