I'm referring to the 3D cube example given in API demo . But how to make the side of the cube as clickable?
            Asked
            
        
        
            Active
            
        
            Viewed 677 times
        
    3
            
            
        - 
                    1a) If you refer to some example please link to it. b) I don't know the example but for 3D clickable things you need to transform coordinates from screen (x, y of touchpoint) to 3d space (x,y,z) to find out where you clicked so it's usually not that simple to make 3D clickable. – zapl Apr 30 '12 at 13:09
- 
                    I'm using normal api demo which comes along with Android SDK. Is there any example which shows, transforming coordinates from 2d space to 3d space. – Nemo Apr 30 '12 at 13:39
1 Answers
1
            "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.
 
    
    
        Community
        
- 1
- 1
 
    
    
        Stefan Hanke
        
- 3,458
- 2
- 30
- 34
 
    