Select X side of cube

Hello I’m new to three.js and I have problem where I want to make feature where you can choose side of cube and add new cube to it.
I want to make the selection to be that you press the side of the cube you want to select.

-Do I have to make every side of the cube separately or can I just use BoxGeometry?
-And how should I do the selection part? Raycasting?

Hi, I wrote this example if it might be useful to you.
For convenience I used my three.ez library to bind events, but if you don’t want to use it you will have to use raycasting.

1 Like