Forum Discussion
mrgreen72
8 years agoSuperstar
Getting the head/neck height regardless of rotation
Using the HMD/Camera position doesn't quite cut it because it's affected by the head's rotation. I would like to get a height that's not affected by it. Or as little as possible, so that I get the same result whether the player is looking up or down.
I thought the neck position from the Get Pose function in the Oculus library would work but it obviously doesn't return what I thought it would.
Thanks for your time.
I thought the neck position from the Get Pose function in the Oculus library would work but it obviously doesn't return what I thought it would.
Thanks for your time.
1 Reply
Replies have been turned off for this discussion
- mrgreen72SuperstarThanks!
Actually the returned Z seems to ignore the rotation. My problem is that I was un-rotating the HMD position by its rotation and while it achieved what I wanted for the forward/lateral movement, it screwed the height. I fixed it by only using the yaw.
What I'm trying to achieve here is to determine some player's actions based on his head and hands movement.
It would be very useful if some of that stuff would be part of the SDK/Engine. Like an estimation of the user's torso position and orientation. You guys are obviously already doing this for avatars and whatnot.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device