I have some cubes and I want to move the camera like flying through the cubes and following the mouse pointer. I want to know is it possible locked the camera (camera.lockedTarget) to follow the mouse pointer ?
Thank you so much for answering to my question. can I use the Universal Camera to do it?
or is it possible to construct a small mesh when I click the mouse pointer? I mean when I clicked the mouse where there is no mesh
You can create an abstract mesh just by doing new BABYLON.AbstrachMesh("name", scene);new BABYLON.AbstractMesh("name", scene);. Then you can set its position.