A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] Angled Collision Detection

  1. #1
    Junior Member
    Join Date
    Aug 2007
    Posts
    7

    [F8] Angled Collision Detection

    I've started the bare bones work of a game in which you need to navigate a ball thru a maze by basically setting the maze up and letting it run its course. Think 'The Incredible Machine'. Right now, im trying to make it so that the ball can roll down a ramp. Since hitTest works only in squares, I was wondering if anyone could point me in the right direction as to how to get this to work. The way i have the ramps set up is quite ghetto, and as you can see only semi functional.
    Attached Files Attached Files

  2. #2
    Member
    Join Date
    Feb 2003
    Location
    local habitation
    Posts
    73
    See "Foundation ActionScript Animation Making Things Move!" by Keith Peters, Chapter 10, Coordinate Rotation and Bouncing off Angles. This chapter has the info you need.
    Zaffer

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center