+ 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

27th Dec 2017, 6:54 PM
ONDZE ITOUA Christ Nelson
ONDZE ITOUA Christ Nelson - avatar
6 Antworten
+ 6
I'm good with three.js sadly I don't understand russian
27th Dec 2017, 7:17 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 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
31st Dec 2017, 12:50 PM
ONDZE ITOUA Christ Nelson
ONDZE ITOUA Christ Nelson - avatar
+ 7
Hello brains. I want use a raycasting for select distinguish objects in the scene. But a don't know how it work
27th Dec 2017, 7:23 PM
ONDZE ITOUA Christ Nelson
ONDZE ITOUA Christ Nelson - avatar
+ 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
21st Apr 2018, 7:33 AM
DarkZeus
DarkZeus - avatar
+ 2
i'm from Russia and it's not Rassia language.
27th Dec 2017, 8:50 PM
Даниил
Даниил - avatar
+ 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.
28th Dec 2017, 1:12 PM
DISSOUASSANI Sam Albertony