Closed DuFF14 closed 8 years ago
Should I add a "Recenter" prefab with the SetRoomRotationUsingHead.cs sample script?
Yes, a prefab would be good here. Otherwise this looks good.
Added the prefab, hopefully "Recenter" is a suitable name.
Was there a reason this was only on the render manager path? Just curious as I write up the changelog
It was already working on the non-RM path. Prefab works for both.
Adds functionality for calling SetRoomRotationUsingHead() and ClearRoomToWorldRotation() on the RenderManager path. Created a sample script which "recenters" on a key press and added that to an empty gameobject in the VRFirstPerson.unity scene. Perhaps this gameobject should be a prefab?