hello,
the callback code appears normal, but if you are restricting motion to 2 dimensions, i think it is better with a physics library specifically designed for 2d.
Box2D
http://sourceforge.net/projects/box2d/
http://www.box2d.org/wiki/index.php?title=Sample_code
there is also Flatland, but it ...
Search found 3 matches
- Mon Dec 29, 2008 9:40 pm
- Forum: Game Programming
- Topic: physics question: Trimesh collisions
- Replies: 8
- Views: 6124
- Mon Dec 29, 2008 3:57 am
- Forum: Game Programming
- Topic: physics question: Trimesh collisions
- Replies: 8
- Views: 6124
- Thu Dec 25, 2008 6:00 pm
- Forum: Game Programming
- Topic: using ode for car simulation
- Replies: 2
- Views: 2951