View Single Post
Old
SammehDx
Guest
 
Status:
Posts: n/a
Smile 02-26-2010, 09:04 PM

Quote:
Originally Posted by tango217 View Post
I made world variable named ballDistanceBelowWall. Then i made in an event called "While the world is running do...." and in the "during" i put a method that says to "set the value of ballDistanceBelowWall to ball distance below wall" and since this value is constantly being calculated by the "while the world is running" event, i can then make another method saying, "if ballDistanceBelowWall <= 0 (or whatever number works), then do ...." which in my case would be running the angular launch equation after the ball hits the wall. i hope this isnt too confusing :/. but im releasing my pong game rather soon that has all this in there so you could look at that when it comes out.
Oh. Alright. I'll give that a try... I hope it works.. I am getting rather desperate. lol Thanks a lot.
   
Reply With Quote