JBULLET physics problem with near-sphere-sphere collisions

harrysjoerd
Posts: 6
Joined: Mon Mar 16, 2009 6:14 pm

JBULLET physics problem with near-sphere-sphere collisions

Post by harrysjoerd »

Hi,

I have been building a game engine that uses JBullet. I now have a problem that I can not solve:
In my scene I have 2 spheres. One static and one on which I can apply a force. Now it seems that when the spheres are too close, I can not a apply force to the sphere with the function applyForce(...). I found out that this problem occurs as long the function hasCollission is called and when the spheres are at a certain distance from eachother, it is again possible to apply a force. This problem does not seem to occur with other primitives: near Sphere Box collisions give no problems.

Now I wonder whether I use the function applyForce wrongly, or if there could be a bug in Bullet(or the conversion JBullet).

Can anyone help me with this??

Thanks in advance...

PS: I already call the function activate()