+ 10
Help me to use a raycasting with three js
Salut à tous, voilà j'ai un souci avec l'utilisation du raycasting avec three js j'aimerais savoir comment faire pour distinguer le click sur un objet de la scene
6 Antworten
+ 6
I'm good with three.js sadly I don't understand russian
+ 8
Finalement j'ai pu trouver la solution a mon problème c'était pas si difficile que ça.. Merci d'avoir essayer de m'aider
+ 7
Hello brains. I want use a raycasting for select distinguish objects in the scene. But a don't know how it work
+ 3
it's simple just ad onClick method to the object...(html tags can use in js)
you must add single cortation marks ('....') and double cortation marks ("...") to seperate html tag and its onclick element
so its like this
"<h1 onClick='return checked'>"
this is also correct
'<h1 onClick="return checked">'
these are wrong
"<h1 onClick="return checked">"
'<h1 onClick='return checked'>'
visit this......
https://code.sololearn.com/WZB8HACe0gcu/?ref=app
+ 2
i'm from Russia and it's not Rassia language.
+ 1
It is french. The guy needs help for raycasting with Three.js.He wants someone who can tell him how to distinguish a mouse click over un object.