PDA

View Full Version : How do i.....



Robertlatacz
October 26th, 2006, 21:21
In lua, how do i make an object rebound of walls,pads..... (like in pong, to get the ball to keep hitting the pads)

Does anyone know how to do this?

yaustar
October 26th, 2006, 22:02
Use box collision.

Robertlatacz
October 27th, 2006, 15:10
Could you give me an example please, so that i know how to do it. Thanks

yaustar
October 27th, 2006, 18:22
http://www.dcemu.co.uk/vbulletin/showthread.php?t=28540

psiko_scweek
October 30th, 2006, 14:31
box collision with a little bit of physics to make the object actually bounce and to change its direction. There are some tutorials on GameDev.net.