Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera gizmo not updated when moving the camera #582

Open
dmarcos opened this issue May 8, 2019 · 2 comments
Open

Camera gizmo not updated when moving the camera #582

dmarcos opened this issue May 8, 2019 · 2 comments

Comments

@dmarcos
Copy link
Member

dmarcos commented May 8, 2019

When moving the camera in the inspector the position coordinates change and the camera moves when going back to the scene. The gizmo remains in the original position when dragging.

Reported in SO: https://stackoverflow.com/questions/56045081/a-frame-version-8-to-version-9-unable-to-move-model-or-camera-from-within-inspec

@tiagosomda
Copy link

tiagosomda commented Jun 1, 2019

Hey @dmarcos,

I am just getting started with aframe and I ran into something like you are describing.
It looks like you need to put the camera within a-entity tag and then you move that entity.
Otherwise, you are moving the camera position and the VR headset is also setting that position.

There is more info in the camera component documentation:

https://aframe.io/docs/0.9.0/components/camera.html

A camera should usually be positioned at the average height of human eye level (1.6 meters). When used with controls that receive rotation or position (e.g. from a VR device) this position will be overridden.
When moving or rotating the camera relative to the scene, use a camera rig. By doing so, the camera’s height offset can be updated by roomscale devices, while still allowing the tracked area to be moved independently around the scene.

@RalfViellieber
Copy link

no update on this issue? Animation of camera (rig) seems to be still problematic for inspector (v. 1.0.3). Why not at least a warning "camera movement not representable in inspector"?

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

No branches or pull requests

3 participants