[ODE] Modeling a room (or how to do an inverted cube rigid body
inode)
Jon Watte
hplus-ode at mindcontrol.org
Wed Aug 25 11:23:25 MST 2004
Build a trimesh with the triangle normals pointing inwards.
Cheers,
/ h+
-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org]On Behalf Of toni
Sent: Wednesday, August 25, 2004 9:34 AM
To: ODE Mailing List
Subject: [ODE] Modeling a room (or how to do an inverted cube rigid body
inode)
Hello,
I'm wondering how to do a simple rigid body that fits in a room. I mean,
having a simple room with a simple texture with a cubic shape. Now my
modelers have put some objects in it, let's say spheres and boxes.
For what i've seen i can't simply pass the room BB to ODE and expect
that the objects inside the room effectively collide with the room walls
(as the BB normals point outside the room).
So, is there a way to say "yeah, build a box but the normals point
inside". I suppose there's an easy one: "build the planes". If that's
the only way, well, i will have to do it that way :)
Thanx in advance,
Toni
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list