How do I make an object disappear upon collision?
              in 
             Programming Questions 
              •  
              3 months ago    
            
 
           
             Hi, 
            
            
            
             
            
            
             
            
            
             
            
            
             
            
            
             
            
            
 
            
           
             I've been googling and searching these forums for about an hour and I haven't been able to solve this problem.
            
            
             I have a small "car" that moves around the screen and I want it to hit a "grape". I would like that grape to disappear and reappear somewhere else. 
            
            
             I am new to processing and I don't really understand the differences between processing and processing.js but if I could find a tutorial like 
             this one for Processing, that would be amazing!
            
            
             My code is long and I know that this topic must have been covered already in a clear and concise manner, but I can not find it. 
            
            
             Let me know if I need to post my code. 
            
            
             Thanks!
            
 
            
              
              1  
            
 
            
 
 
           
 
             
 
             Obviously, they have lotsa dots!
   Obviously, they have lotsa dots!  
               
              
 
             
 
             
              
              
              
              
             