Skip to content
This repository was archived by the owner on Nov 5, 2020. It is now read-only.

Issue when new scene is loaded #3

Closed
lemonfizz56 opened this issue Nov 27, 2019 · 2 comments
Closed

Issue when new scene is loaded #3

lemonfizz56 opened this issue Nov 27, 2019 · 2 comments

Comments

@lemonfizz56
Copy link

It locks the camera in place by constantly updating it to its starting location so any scripts wanting to move the camera don't work

@FaiyazMdAbdul
Copy link

same issue.. I am using gyroscope controls.

@andersonaddo
Copy link
Owner

andersonaddo commented Nov 27, 2019

That is the expected behaviour, actually. It's mentioned in the documentation.
The camera will be forced to be at rest at the origin (plus any offsets you place into the offset fields).
If you have other scripts that plan to also alter the position and orientation of the camera, then you should place the camera into a parent gameobject and make it's local position and orientation 0, 0, 0. All your other scripts should alter the position and orientation of the parent gameobject, while EZ scripts will alter the camera's local position relative to its parent.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants