How to update the size of a box ?

what function called?

Thank you

You could try box.updateGeometry()…


But in my experience, the JME shapes are only half-implemented and don’t allow updating. So if that doesn’t work, you’ll have to swap the old box out for a new one on the geometry I think.

(P.S.: You might consider picking a better topic title in the future. Some people might not even drill in to look.)

Ok, I create a new box and it work!

Thank you pspeed