We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › Collision [solved]
Page Index Toggle Pages: 1
Collision [solved] (Read 807 times)
Collision [solved]
Apr 26th, 2010, 6:16am
 
Hi everyone,

I'm working with NyArtoolKit for AR (augmented reality), & i would like to display 2 objects on my screen (no problems for this) and to swap their colors when they collide. Is this possible? Thanks
Re: Collision
Reply #1 - Apr 26th, 2010, 7:05am
 
Not only it is possible, but it is a very common task in Processing and you should be able to find plenty of examples in the forum and the learning section.
Re: Collision
Reply #2 - Apr 26th, 2010, 7:11am
 
Ok then, thanks. I tried to find but in vain.

I'll follow my research =)
Re: Collision
Reply #3 - Apr 26th, 2010, 8:14am
 
Can t type well as I am using my PDA at airport, but I have some collision example code on my openprocessing.org page (user bejoscha).
http://openprocessing.org/visuals/?visualID=8607
Re: Collision
Reply #4 - Apr 26th, 2010, 9:09am
 
Thanks a lot Bejoscha  Smiley
Re: Collision
Reply #5 - Apr 26th, 2010, 9:09am
 
See Learning > Tutorials > Examples > Topics. Look at Motion section. Examples with "Collision" in the name.
Re: Collision
Reply #6 - Apr 26th, 2010, 9:12am
 
yeah i found those collision samples before. it rocks.

I'm making a pong in AR. It should work soon. Thanks everyone !
Page Index Toggle Pages: 1