Page 1 of 1

Bouncing off a line

Posted: Tue Jan 17, 2012 6:30 am
by nicholas.aycockGA5787
I am able to draw a line, but i would like a image to collide and bounce off of the line i created.
What script, or tutorial, would i need to fix this? Thanks in advance for helping.

Re: Bouncing off a line

Posted: Tue Jan 17, 2012 7:23 am
by kdjanz
If you look at the Academy video that dealt with intersections (Week 3 I believe, just before Christmas) you will see how the rocket detects collisions with the asteroids or the ground. That will give you some background

If you look in the December Academy forum you will see some scripts that deal with the Intersect issue that people have posted.

Best of all for you, Sturgis has posted a breakout game that shows you how to bounce a ball off bricks: http://forums.runrev.com/viewtopic.php? ... out#p49171

You can learn from all of those.

Good Luck

Kelly