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

Projects
None yet
2 participants
@RaananW
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 some commits Oct 8, 2015

Fix for wrong calculation of velocity
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

Merge pull request #738 from RaananW/small-collision-fix
Possible wrong calculation of camera velocity

@RaananW RaananW merged commit 125b22d into BabylonJS:master Oct 8, 2015

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

This comment has been minimized.

Show comment
Hide comment
@deltakosh

deltakosh Oct 8, 2015

Contributor

Well done!

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