Newbie - DiscreteDynamic/collision question

Please don't post Bullet support questions here, use the above forums instead.
asdrubals
Posts: 1
Joined: Mon Jul 19, 2010 3:10 am

Newbie - DiscreteDynamic/collision question

Post by asdrubals »

Hi, I'm new to Bullet and I'm trying to understand better how it works.

I got the following situation using discrete dynamic world:
1. Created a static rigid body to act as a ground.
2. Created a cylinder and a sphere rigid bodies with motion state.

When i apply a force (linear velocity) to the cylinder, it hits the sphere and the sphere goes to the exact location that i was expecting.
But, when i insert a second cylinder at the dynamic world, the things change a little. Even though i didn't hit this new cylinder, when I apply the same force to the first cylinder and it hits the sphere, the result is a little bit different from the first simulation. The sphere hits a position near the first one but not the exactly (actually, it's not really so close).

I'm trying to figure out why this happen but didn't get the point =/

The second cylinder doesn't have nothing with the motion, why does his existence change the world behavior? Is there a way to avoid this? What's happening on this scenary?

Thank you in advance!