[ODE] Status of dCylinder?
Jon Watte
hplus-ode at mindcontrol.org
Mon Jan 24 15:15:21 MST 2005
> I'd also like to know this - what game is complete without some barrels
> sitting around? :-)
For a barrel of diameter D, you can make a CCylinder of diameter
D, and then a box of side length D/4 to sit inside the cylinder,
but make it as tall as the cylinder + cap. That way, it can
balance on the ground (flat end of rectangle) but will roll just
fine when pushed over (rolly side of ccylinder).
Cheers,
/ h+
More information about the ODE
mailing list