How do I programm two objects that are not allowed to touch each other?

edited December 2017 in How To...

Hello there, I am in the works of programming a simple game and am a little stumped with some steps. Some Details: I am programming a game where two objects cannot touch each other. Whenever they touch, you lose a point. I know that the if() reference can be used, I just can't get it to work correctly. Can somehow help me with a code? Thank you!

Answers

Sign In or Register to comment.