-
-
Notifications
You must be signed in to change notification settings - Fork 34
Fixed a few things with the new camera rig #405
Conversation
Fixed component casting check to ensure we're not trying to destroy components that aren't a IMixedRealityCameraRig type
XRTK-Core/Packages/com.xrtk.core/Services/CameraSystem/MixedRealityCameraSystem.cs
Show resolved
Hide resolved
@SimonDarksideJ tested this on WMR but Open VR and Oculus still need to be tested. |
Sadly, utter fail, for all the same reasons we attached everything to the Body. Altering the headpose, does not alter all the things you want to "synchonise" with the head, e.g. Controllers, Teleportation, gaze, etc. |
Gonna close this for now. Yeah we def shouldn't be changing the playspace transform. We expect that anyone will move that to re-position their players. This would def break in that scenario |
added in more documentation updated rig transfrom added in rig transform reset
SO before we can merge this, we need to address the height set by platform (or manually) issue. Else we are regressing what is currently in public |
Agreed. |
Oculus PR unblocked and tested working with this new setup. Good to go. |
I'm gonna hold off on merging this until the submodules get their release |
Should be ready now |
* Added flags to check if app was quitting before setting up objects Fixed component casting check to ensure we're not trying to destroy components that aren't a IMixedRealityCameraRig type * better camera cleanup * return a null camera if we're shutting down * reverted some changes to how we're syncing the body/playspace transforms * Added an assert for verification * sync the body's x/z position with the camera * add comment * Added back in the body rotation modifications * updated SDK checkout * added in inspector options for camera profile and fixed missing serialization attribute * updated sdk checkout * reverted a few things and made sure we're not manipulating the playspace added in more documentation updated rig transfrom added in rig transform reset * Added some null checks for when camera system isn't enabled * updated oculus checkout * updated submodules * updated all the submodules
XRTK - Mixed Reality Toolkit Change Request
Overview
Fixed the errors from the camera rig shutting down improperly and syncing the playspace and bodypace transforms correctly.
Mainly we wanna ensure that the body is roughly the same position/rotation of the head (within the adjustment angle threshold)
Target of the change:
Is this enhancement for:
Changes:
Brief list of the targeted features that are being changed.