@Evgeni_Popov finally after hours I was able to find the issue, I found that I was setting buffers as static on matrix, which was causing to not move my object. While it fixed above problem I am still not able to achieve what I wants, I have 3 boxes in below PG, what I wold like to happen is, when click on a box, it should move a little up, when I click next box, previous box should go back to its initial position and move clicked box up, so only clicked box remains in air, here I created a PG: Babylon.js Playground
if you click on any of box, it will go above on same place ( because I am using same setTranslationFromFloats(2, 10, 0) here since can’t figure how to get box’s previous value dynamically) , what actually I need is, when I click on one box, that clicked box change Y position, and if any previous box was higher, it will go back to initial position, to accomplish this I saved objects metrics states
boxWorldMatrix = obj.thinInstanceGetWorldMatrices(); , then when click on any box I try to apply but object doesn’t goes back to its initial position. also I have some rotation, scaling etc which I would like to maintain.