Compound body rendering

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Rademanc
Posts: 16
Joined: Sat Apr 25, 2009 4:21 pm

Compound body rendering

Post 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?
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Compound body rendering

Post by Norbo »

You could remove the CompoundBody from the EntityDrawer and then re-add it after you removed the sub-body.
Post Reply