Page 1 of 1

Compound body rendering

Posted: Tue Sep 08, 2009 3:22 pm
by Rademanc
I have a compoundbody, and at runtime i remove an entity from it using removebody. It works, but the renderer still draws the old compound body and not the new objects. Is there some method I can call to update the renderer?

Re: Compound body rendering

Posted: Tue Sep 08, 2009 4:58 pm
by Norbo
You could remove the CompoundBody from the EntityDrawer and then re-add it after you removed the sub-body.