hello si i try to make that when i click somewhere on the mesh the postion of the click go in my var but i doesn’t word
i need help pls TwT
hello si i try to make that when i click somewhere on the mesh the postion of the click go in my var but i doesn’t word
i need help pls TwT
There you go! ![]()
our pointer observable(s) provide the picking info for you, already calculated with the right predicate.
oh okay now in need to understand how to pick the exact spot where i click on the mesh and not just the mesh because i want to draw a line beetween two mesh , i don’t know if it’s clear ? my english is so bad
Most of us are not native english speakers! don’t worry about your english ![]()
The pick result returns a pickedPoint as well:
thanks do u know the documentation for helping me doing what i need ? Creating 2 gui
1 for the first take position with left click
2 for the second take position with right click
And maybe how to draw a line beetween them ?
Right click is the same as standard picking, you just need to find out which button index is used.
About GUI, This is the best docs for our GUI system - Babylon.js docs