To allow a consistent approach to play behaviors and the player relation to the game world, VRTK should provide a convenient location for real-world properties associated with the player, including at least:
The api should allow for manual setting of these vars, and also possibly methods for dynamic runtime establishment of baselines from best guesses
A sample scene that shows how the data can be captured and used should be created.
Probably on player presence.
yeah this is an interesting idea.
Height can be just a normalized y from the headset to the floor. and the arm length....urm, what about you keep a check on the max distance between the headset and the controller?
I implemented this in my game - Its a simple setup. Scaling the camera rig by the offset of player height and my avatar height or the "height" I want all players to view my game world from. Very simple. Arm length is measured by having the players stand in a T pose and pull a trigger. It measures the distance between controllers and builds a ratio to scale in the x/z to fit my avatars arm distance. The height adjust works well. The arms... not so much... still working on that one.
Hi guys I have been working away on body proportion calculator from NASA biomechanics and other scientific data, it is in a rough draft but free to any who might find it useful.
Code is on codeshare here...
https://codeshare.io/5ZQ0jQ
If the link expires drop me a pm :)
Be great to include this into VRTK somehow, would make life easier. :)
You are welcome to use it as it, and if stonefox want to roll it in he is most welcome to, but I am working on several more practical applications for it, such as automatically positioning touch menus and automatically adjusting interactables based on reach.
So you may want to hang on a little while till we can show off some practical applications of it :)
All the best
Don
P.S. having had many of my students test the formulae, the average margin of error has been less than 0.5cm for most on the metric when given an accurate height, and under 1cm when picking it up from the headset.
I'm exploring this issue with VRTK and VRIK right now. This seems like it will be very custom for each game.
https://www.youtube.com/edit?o=U&video_id=4vU_9SZBeAY
For my end game I plan on doing a t pose calibration step with a few "touch your joints" steps as well. I'm not sure this is a high value target right now for VRTK, but i'm just being mean right now! :)
Should we close this?
Linked to https://github.com/thestonefox/VRTK/issues/1522 ?
Most helpful comment
Hi guys I have been working away on body proportion calculator from NASA biomechanics and other scientific data, it is in a rough draft but free to any who might find it useful.
Code is on codeshare here...
https://codeshare.io/5ZQ0jQ
If the link expires drop me a pm :)