A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: [help] OBB (Orientated Bounding Box) Collisions

Threaded View

  1. #4
    Senior Member UnknownGuy's Avatar
    Join Date
    Jul 2003
    Location
    Canada
    Posts
    1,361
    Hey Chris,

    From years ago Blink(I believe) posted an example of this. I still have an .fla that I modified using it, which shows it working.

    Here it is online in action: http://www.whatboxstudios.com/FK/collision8.swf

    And here is the source: http://www.whatboxstudios.com/FK/collision8.fla

    The algorithm I never really understood, and it is uses the fact there is a nested movieclip and gets the size of the width once rotated I believe(or some trick like that), which could be done another way.

    Hope that helps!
    Last edited by UnknownGuy; 03-08-2009 at 02:18 PM. Reason: Captilization

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