Event listeners in ar.js

后端 未结 1 1579
Happy的楠姐
Happy的楠姐 2021-01-17 06:33

I am developing a project which involves ar.js that is displaying 3d objects and text to teach children the alphabet on both mobile devices and laptops. I was trying to add

1条回答
  •  悲哀的现实
    2021-01-17 07:06

    I think the main issue is something with a-frame version 1.0.X. For some reason the addEventListerner('click') won't work if I use that.

    Below is my code, you click your model and it should increase the scale. Note: there is issue about the click event not at the expected spot.

    
    
    
        
        
        
        
        
        
        
       
    
        
        
             
        
         
             
             
    
            
        
        
        
    
    
    

    0 讨论(0)
提交回复
热议问题