Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating clickable sides in Cube

I'm referring to the 3D cube example given in API demo . But how to make the side of the cube as clickable?

like image 591
Nemo Avatar asked Feb 23 '26 02:02

Nemo


1 Answers

"Elements" (Cubes, in this case) inside a GLSurfaceView are not clickable in the sense mentioned here. You will need to add this convenience yourself. See the answers to this question about ray-picking.

like image 77
Stefan Hanke Avatar answered Feb 24 '26 16:02

Stefan Hanke