Optimising a scene with a lot of mesh

hi! ok i understand better how you make all this work. i’ll explore a little more in detail but i think it can be a good idea in my case. however if i want to move a mesh dynamically in the scene can i do that and refresh the bounding box to its new coordinates?

I don’t do this but from my understanding Havok should be taking care of this now (see the playground link above).

If for some reason not, see the BoundingBox class: either you can directly update its worldmatrix or (idk if it is readonly) rebuild it (see constructor).

ok! Thank you very much.

1 Like