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

Position of Child-Elements of Arc Rotate camera not updated correctly #3873

Closed
RaananW opened this Issue Mar 5, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@RaananW
Member

RaananW commented Mar 5, 2018

The problem can be seen here - https://www.babylonjs-playground.com/#21IMDW#15 .
Expected behavior would be that the box is always in front of the camera.

@RaananW RaananW added the bug label Mar 5, 2018

@RaananW RaananW added this to the 3.2 milestone Mar 5, 2018

@RaananW RaananW self-assigned this Mar 5, 2018

RaananW added a commit to RaananW/Babylon.js that referenced this issue Mar 6, 2018

beforeRender should be executed after camera.update
Otherwise the camera's position will be wrong when using onBeforeRender
It is solving BabylonJS#3873

@RaananW RaananW closed this Mar 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment