If you place a box on a flat box and give it a linearvelocity to slide on the box it is sitting on, it will usually curve to the right or the left. . . why is that? shouldn't it travel in a straight line and come to rest?
this can be replicated in any of the demos by changing the shootbox method in DemoApplication.cpp to place a box on the ground and give it a linear velocity.
Bino
possible friction error
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: possible friction error
Yes, there is some approximation going on that causes this issue. Will be added to the todo list.binofet wrote:If you place a box on a flat box and give it a linearvelocity to slide on the box it is sitting on, it will usually curve to the right or the left. . . why is that? shouldn't it travel in a straight line and come to rest?
Thanks,
Erwin
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: possible friction error
This should be fixed in the latest Subversion, and in upcoming Bullet 2.63.
Can you try this Bullet 2.63 preview and report if it is solved?
Thanks,
Erwin
Can you try this Bullet 2.63 preview and report if it is solved?
Thanks,
Erwin