r/UnityforOculusGo • • Nov 08 '18

Move an object forwards and backwards with the touch pad

Hey,
I want to move an object, after selecting it, along the z axis ( forwards and backwards) by swiping up or down on the go controller touch pad. I am not sure how to do it.

Any help will be greatly appreciated.

2 Upvotes

5 comments sorted by

2

u/[deleted] Nov 08 '18 edited Nov 08 '18

[removed] — view removed comment

1

u/Alihammza Nov 08 '18

Hey, thanks a lot. So do I have to do this separately for forward and backward movement or just doing it like this once is enough. Also shouldn't .y in the end instead be.z, since that is the axis i want to move the object along.

2

u/[deleted] Nov 08 '18

[removed] — view removed comment

1

u/Alihammza Nov 08 '18

Thanks a lot man. Really appreciate it.