cancel
Showing results for 
Search instead for 
Did you mean: 

Detecting Sitting VS Standing - Adjusting height?

KevinLongtime
Heroic Explorer
I'd like to implement a feature in my project that detects if you are sitting down or standing up and adjusts accordingly to your target height. I've seen this done with Altspace VR. I'd like to be at my full height in game while sitting down.

Same for if you are standing up it will adjust and allow real height if you begin the game that way And or a reset that will adjust in real time once pressing a button. Any ideas?
2 REPLIES 2

pjenness
Rising Star
if using eye height mode I think you can just run the reset command and it should reset the camera to the correct height. IM doing similar in my app, I can be either sitting or standing, then switch and call the reset command (recentre pose) and Im back at eye level.
Something like:

OVRManager.display.RecenterPose();
	


KevinLongtime
Heroic Explorer
Awesome! Just the info I needed to get started 🙂 Thanks man!