Hello !
I need some help, after looking through many threads relating to rotation/orientation/translation, I still couldn't manage to find a solution...
I made a playground : There is a Ground with a height map, when you click on the ground, a flat Plane appears where you click.
With pickingInfo, I could modify the position of the plane, but I'd like also the plane to change its orientation to match the orientation of the ground.
https://www.babylonjs-playground.com/#95PXRY#28
Any help with this script would be greatly appreciated ?