Methods of freezing bodies

denreaper

27-10-2006 15:58:06

I just began OgreODE, and from what I've gathered, I assume you can freeze a body by setting the mass to 0. However, this seems slightly "dirty" I guess... So I was wondering if there is a more standardized way of freezing a body.

Thanks in advance,
Denny

tuan kuranes

27-10-2006 16:09:53

Freezing body is better done using geometry with no body. (removing body if it has one, like geometry::setBody(0).)

denreaper

28-10-2006 04:03:41

That did the trick - Thanks a bunch, great physics wrapper by the way.