Bouncing objects.

vidjogamer
Posts: 13
Joined: Thu Apr 29, 2010 11:59 pm

Bouncing objects.

Post by vidjogamer »

Hi I am using bullet and for some reason my objects are bouncing and sliding when they collide on the x axis but not on the y axis.

Does anyone have any idea why this would happen?

What properties can I set to prevent the sliding? Nothing seems to work.
vturchenko
Posts: 7
Joined: Fri Jul 18, 2008 4:32 pm

Re: Bouncing objects.

Post by vturchenko »

Sliding controlled by friction, bouncing - by restitution. Both need to be set accordingly for both terrain and rigid body. If terrain has zero friction it doesn't matter what friction rigid body has - resulting pair friction will be 0.