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

AR Slow Motion #1

Open
Nicholas714 opened this issue Jun 16, 2018 · 0 comments
Open

AR Slow Motion #1

Nicholas714 opened this issue Jun 16, 2018 · 0 comments

Comments

@Nicholas714
Copy link
Owner

The AR scene has gravity set very low, causing a slow motion effect. This is intentional. If it was set to normal gravity as in the 3D scene, the blocks would fall. It is known that in AR, the physics engine is not exact to 3D due to the different sizes, so friction does not behave correctly. If it was set exactly like the 3D scene, the blocks would fall and jump around as if there were no friction in the world.

To fix, scale the rootNode to be the size of the 3D node during physics calculations, and then scale it back to normal when it is being rendered. This is a work-around by making the physics engine see the world as if it were in 3D to preform physics calculations, then changing it back so it can be rendered and displayed normally.

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

1 participant