Results 1 to 5 of 5

Thread: How do i.....

                  
   
  1. #1

    Default How do i.....

    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?

  2. #2
    GP2X Coder/Moderator
    Join Date
    Jan 2006
    Posts
    1,678
    Rep Power
    87

    Default

    Use box collision.

  3. #3

    Default

    Could you give me an example please, so that i know how to do it. Thanks

  4. #4

  5. #5
    DCEmu Regular psiko_scweek's Avatar
    Join Date
    Apr 2006
    Posts
    315
    Rep Power
    71

    Default

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •