Physics in SDL question

I want to use Box2d for game physics,so which is the best way to use it if you have a level
class and some object class? The b2World and b2AABB should probably go into level class but
what about the object,which classes from Box2D should got there (b2Body,b2BodyDef,b2Shape)?
Some pseudo code or link to it would be appreciated.

dekyco

This is a list for SDL questions. I’m sure Box2D has its own mailing
list or forums. Or you could use a more general discussion forum, for
example www.gamedev.net.

– Brian

If you’re asking how to draw the objects, there should be an object
iteration function/class that you can go through each object in the
simulation and get information on it’s geometry (at least chipmunk2d does
that).

Take care,
-AlexOn Sun, Oct 31, 2010 at 8:01 AM, Brian Barrett <brian.ripoff at gmail.com>wrote:

This is a list for SDL questions. I’m sure Box2D has its own mailing
list or forums. Or you could use a more general discussion forum, for
example www.gamedev.net.

– Brian


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org