Forum Discussion
excelynx
12 years agoHonored Guest
Suggestion: Generic Body in SDK
I think it would be awesome to have generic headless male and female bodies with some basic stand, walk and sit animations included with the SDK. One of the Best Practices is giving the users a body. ...
jherico
12 years agoAdventurer
"owenwp" wrote:
This is an area where the SDK is pretty weak though. Nowhere is there a transform that defines the center position of the Rift that you could line up with a player model bone. Best I could do without modification is to average the positions of the two cameras.
The sample code in the SDK uses the orientation combined with simple model of where the Rift is relative to the point of rotation.
It treats the viewpoint as being 15 centimeters up from, and 9 centimeters forward of the rotation point at the base of the neck. So given that, if you have a head model and have (or can calculate) the origin as being on the neck axis and at eye level, you can scale it so the distance Z distance between the eyes and the axis is 9 cm and then translate it backwards from the view position.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device