[ODE] Creating a 2d wrapper class around the ODE lib

Christoph Frick frick at sc-networks.com
Wed Aug 9 03:58:04 MST 2006


On Wed, Aug 09, 2006 at 12:21:28PM +0200, Jordi wrote:

> Aren't 2D objects just 3D objects with a very thin dimension?
> I mean, why make a "square" object when you can have the thinnest of
> the boxes?

i am currently working on a 2d-done-in-3d "project" of my own. i dont
fiddel with the "depths" as i fear having to much trouble with getting
the propotions, mass, ... right.

> > btw. If you're looking for suggested new features, i'd say that if you
> > could add some kind of 2D polygon primitive (a closed line list) -
> > either convex only, or with concave support - then this would be very
> > very powerful and perfect for any use I can think of.

i use "polygons" (transformed in a tri-mesh-fan) for the level - so
having a polygon in a "real" 2d ode would be great to have (simply for
the level).

my player for now is a sphere and the things in the level are boxes - so
bascially up to there the stuff would be useful.

running this with 3d ode feels quite stable - at least for me. after
each step i eliminate everything that would make things move into/out of
the screen (Z) - this also seems to work good. at least i would exepct a
performance gain by using real 2d ode.

-- 
cu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
Url : http://q12.org/pipermail/ode/attachments/20060809/19103571/attachment.bin


More information about the ODE mailing list