PlayMaker Help & Tips > VR Help

Detecting Horizontal Position of a controller

(1/1)

VREnvironment:
Hey Guys!
I just started my journey with Playmaker, Unity and HTC Vive.

I have a problem that I cannot seem to be able to solve. How can I detect whether the controller is horizontal to the ground and what is the angle between the controller and the floor in degrees?



I have tried getting the rotation, raycasting etc. but cannot get it to work.

tcmeric:
Are you using the VRTK toolset?

VREnvironment:
Yes, I am

tcmeric:
I dont have an answer off hand. Jump over to the slack chat and I can probably work something out however.

invite-playmaker-slack.herokuapp.com

Navigation

[0] Message Index

Go to full version