Broken restitution?

BenJah
Posts: 2
Joined: Sat May 11, 2013 7:55 am

Broken restitution?

Post by BenJah »

Hello! Would you help me please?
I have a simple scene (almost), it contains static concave skate park loaded from .obj file and a sphere with radius of 1.0f and mass of 5.0f.
The ball is controlled by WASD and moves relatively to the camera.
So the question — when i attempt to change m_restitution parameter in btRigidBodyConstructionInfo, or manually set it with btCollisionObject::setRestitution, it simply does not work and ignores any numbers (from 0.0f to 1.0f, i assume) — the ball just does not want to bounce.

I will appreciate any help.
You do not have the required permissions to view the files attached to this post.
BenJah
Posts: 2
Joined: Sat May 11, 2013 7:55 am

Re: Broken restitution?

Post by BenJah »

Well, as it often happens, the solution was found immediately after asking for help.

All i needed to do is to set restitution coefficient to park body (which was 0.0f).
Thanks anyway.