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

Unexpected damped collision response? #70

Closed
taumuon opened this issue May 14, 2016 · 3 comments
Closed

Unexpected damped collision response? #70

taumuon opened this issue May 14, 2016 · 3 comments

Comments

@taumuon
Copy link

taumuon commented May 14, 2016

Hi,
I've created a simple demo app using nphysics, but rendering with glium at:
https://github.com/taumuon/rustygameproto

I have a cuboid dynamic object (drawn as a teapot) colliding with a static plane. When running the simulation, can see the teapot/cuboid fall and accelerate downwards, but when it hits the plane it stops dead.

I've set friction to zero, and coefficient of restitution to 1, so I'd expect an elastic collision, and for the teapot/cuboid to bounce back upwards, but that doesn't happen - can you please look at my code and see what I'm doing wrong?

Thanks!

@sebcrozet
Copy link
Member

There is nothing wrong with your code, this is a bug on nphysics. This has the same cause as the third item of my answer to #69 .

sebcrozet added a commit that referenced this issue Aug 24, 2016
@Ralith
Copy link
Contributor

Ralith commented Dec 2, 2016

Were this and #69 fixed by 13d657b? Would be good to see them closed, so it's clear the bugs are no longer present.

@sebcrozet
Copy link
Member

Closing since this is a duplicate of #69 which is fixed.

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

3 participants