in this PG https://playground.babylonjs.com/#3AIJ8T#18 what i want to achieve is:
- when the user rotates the camera all the tiles stands still facing the camera (or follows the camera, depends by the point of view )
- when the user clicks on the red tile, all the other tiles are free to move and rotate by one step
I use a boolean variable
block and i check it inside the
BeforeRenderObservable. All work fine if i comment out line 188. But if i leave it the animation doesn’t work. I don’t understand why.