Hello,
I want to create a kinda WYSISYG editor for a scene, so when the user modifies a mesh using the gizmo then the end event is fired and I can store the position (or rotation/scale) in a variable.
I hav found this playground and I would of thourght I could of made the following changes and it would of given me what I wanted:
var dragEnd = (e)=>{
console.log("end")
console.log(e) // e.mesh ???
}
gizmo.onDragEndObservable.add(dragEnd)
But alas, the event is an empty object.
How do I get the selected mesh from inside the end event?
Thanks