ragdoll method

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
Posts: 43
Joined: Tue Feb 05, 2008 10:40 am

ragdoll method

Post by sueds » Thu Apr 17, 2008 10:45 am

I'm working on my ragdoll right now and I was wondering if removing the entities and adding them again would be expensive ?

Site Admin
Posts: 4884
Joined: Tue Jul 04, 2006 4:45 am

Re: ragdoll method

Post by Norbo » Thu Apr 17, 2008 8:35 pm

It should be fine, unless you're doing hundreds or thousands per frame.

There is one problem you might encounter if you're using a part of the v0.4.X demo rendering system- removing objects from an EntityDrawer while using GPU instancing can cause desynchronization between world matrices and entities, and even crashes.

Post Reply