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

Possible wrong calculation of camera velocity #738

Merged
merged 2 commits into from Oct 8, 2015

Conversation

RaananW
Copy link
Member

@RaananW RaananW commented Oct 8, 2015

The velocity, which is the global cameraDirection variable was constantly changed if gravity was enabled. Gravity was added to it over and over again.

The velocity, which is the global cameraDirection variable was
constantly changed. Gravity was added to it over and over again.
This doesn't solve this -
http://www.html5gamedevs.com/topic/17708-collision-issue-with-bounce/ ,
but solves a problem with calculating the correct velocity currently
used.
RaananW added a commit that referenced this pull request Oct 8, 2015
Possible wrong calculation of camera velocity
@RaananW RaananW merged commit 125b22d into BabylonJS:master Oct 8, 2015
@RaananW RaananW deleted the small-collision-fix branch October 8, 2015 07:38
@deltakosh
Copy link
Contributor

Well done!

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

Successfully merging this pull request may close these issues.

None yet

2 participants