Forum Discussion
Pingles
11 years agoExplorer
Decouple headtracking from player movement in third person?
Greetings!
I've applied VR to my third person controller in Unity but headtracking is turning my player, resulting in some pretty drastic spirals when looking behind the player.
I am struggling to figure out where the headtracking is being applied in those standard scripts. I can't even figure out which script. VirtualInput? I'd like to completely decouple headtracking and player movement.
Unity Pro, 5.1 latest SDK. New project using only standard scripts.+
I've applied VR to my third person controller in Unity but headtracking is turning my player, resulting in some pretty drastic spirals when looking behind the player.
I am struggling to figure out where the headtracking is being applied in those standard scripts. I can't even figure out which script. VirtualInput? I'd like to completely decouple headtracking and player movement.
Unity Pro, 5.1 latest SDK. New project using only standard scripts.+
2 Replies
Replies have been turned off for this discussion
- PinglesExplorerAn update:
I asked this question on the Unity forums and a Unity rep has replied that it's actually an issue with Unity, not a script.
I'll go ahead and build my own third-person controller to get around it. - PinglesExplorerAnother update: Removing the MainCamera tag from the Camera has decoupled head-tracking from player movement.
It has also defaulted to tank controls for the player (the system notes that camera orientation is needed for standard controls) so I will write my own controller script.
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
- 4 years ago
- 10 months ago