an impressive start

Topics: User Forum
Oct 28, 2006 at 2:06 AM
Well I tried out your engine. The stability of stacking is very impressive. The code is well formatted and easily understandable. Your broad phased collision detection algorithm needs some improvement. I would recommend you look into sweep and prune. I also don’t see any code to handle tunneling. Overall your engine is off to an impressive start.

I do have a sweep and prune algorithm implemented in my 2D physics engine if you want to take a look at it. Here is the address to my source forge site.

http://sourceforge.net/projects/physics2d
Coordinator
Oct 29, 2006 at 11:01 PM
Hi, thanks for the comments.

I'm pretty sure I've downloaded and tried out your engine. The name sounds familiar. I will take another look.

Sweep and Prune is on my mental list of things that need doing. I'll take a look at your implementation when I get to that point. Thanks.

Tunneling is definetly an issue. I'm not sure how/if I will handle it. The way I'm doing collision detection (with distance grids) might make it more difficult then if I were using SAT. I'll look into it eventually.

Anyway, thanks again for the comments.

-Jeff