I am writing a simulation in which we need some boxes to be fairly accurately modeled as they move on a set of conveyors. Currently we detect if the box is colliding with the static conveyor surface and apply an impulse to each box according to what the conveyor speed is supposed to be. Is there a way to make the actual conveyor surface move and have it either wrap around or kind of dissolve on the outfeed end and grow from the infeed end? Just the names of which bullet classes and methods to use would really help.
Asked
Active
Viewed 1,601 times
8
-
1what language and physics modelling engine might you be using? – msw Sep 16 '10 at 01:44
-
C++ but I'm just looking for help navigating the bullet libraries – Matthew Smith Sep 16 '10 at 02:38
-
@msw Seems to be bulletphysics ... – Dr. belisarius Sep 16 '10 at 02:38
1 Answers
8
You can use special friction mode, with a target velocity and direction to simulate a conveyor.
See http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&p=21441#p21441 for a working demo and implementation.

Erwin Coumans
- 1,766
- 14
- 22