Hello,
How to update the size of a box ?
what function called?
Thank you
You could try box.updateGeometry()…
http://hub.jmonkeyengine.org/javadoc/com/jme3/scene/shape/AbstractBox.html#updateGeometry(com.jme3.math.Vector3f,%20com.jme3.math.Vector3f)
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