Custom physics update with procedural mesh
I have a cubic world generator inspired from this wiki.
Everything works but the UpdateCollision method is really too slow to be used in real time (up to 18ms to update the physics of a chunk when I destroy one of its cube).
Actually, when I destroy a block, I don't need to recreate the complete ModelBodySetup. I just need to add and remove some triangles.
Is there an easy way to update only a part of the collision ? It would be nice if I can simply say "hey! Update the collision only for triangles between (x, y, z) and (xx, yy, zz).
Else, what are the possible solution ?
asked May 22 '15 at 05:16 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here