Forum Discussion
Lane
11 years agoHonored Guest
neck offset wrt owner
I was noticing today when you roll the OVR player that the head is always offsetting the neck distance in Y wrt world. This screws up most any rotations of the player when its parented to something that moves around and rotates or if you're taking over control for a cutscene/cinematic moment.
I just removed the neck offset for the time being since I would take forever to adjust the code beings that I'm not very strong in coding, but a fix for this would be appreciated.
I just removed the neck offset for the time being since I would take forever to adjust the code beings that I'm not very strong in coding, but a fix for this would be appreciated.
6 Replies
Replies have been turned off for this discussion
- virrorExplorerWell, i guess one of the rules of VR is to never take over the camera control from the player ; )
- grodenglaiveHonored GuestI was fussing around with the neck offset too, but it's a moot issue when we get positional tracking with dk2.
- LaneHonored Guest
"virror" wrote:
Well, i guess one of the rules of VR is to never take over the camera control from the player ; )
im not taking complete control away. When I reparent it I expect it to act appropriately and the current neck offset setup denies that."grodenglaive" wrote:
I was fussing around with the neck offset too, but it's a moot issue when we get positional tracking with dk2.
not if they assume the player is always vertical and this is still wrt world. - raidho36ExplorerWell when you reparent a transform in unity, it's coordinates calculated so it's world position and rotation will remain the same. Easy way to avoid issues with that is to ensure that both transforms have exactly the same rotation and position before reparenting.
- LaneHonored GuestIts not a problem with parenting, is the neck position always being offset in world y+, so you couldn't effectively roll the controller because of this. For instance parenting the controller to the floor, then flopping it upside down would make the player shorter by the value of the neck offset while he its upside down.
- raidho36ExplorerOh I dunno, I have my little scene with no up and down so you rotate 360 degrees freely, and I don't experience any issues.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 8 months ago
- 11 years ago
- 4 months ago