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 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.

RaananW added 2 commits Oct 8, 2015
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
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@RaananW RaananW deleted the RaananW:small-collision-fix branch Oct 8, 2015
@deltakosh
Copy link
Contributor

deltakosh commented Oct 8, 2015

Well done!

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

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.