[Flashcoders] bounce object off tilted wall

2010-09-28 Thread Kevin Newman
Hi, I'm looking for information to help me learn how to bounce an object off another rotated object (or irregularly shaped object). I've already got basic collision detection working, and can bounce off straight horizontal and vertical shapes easily enough (blocks). I'm looking for info on

Re: [Flashcoders] bounce object off tilted wall

2010-09-28 Thread Carl Welch
I'd look in this direction: http://www.google.com/search?q=actionscript+3+physics+library Hope this helps. Cheers. -- Carl Welch http://www.carlwelch.com On Tue, Sep 28, 2010 at 10:40 AM, Kevin Newman capta...@unfocus.com wrote: Hi, I'm looking for information to help me learn how to

Re: [Flashcoders] bounce object off tilted wall

2010-09-28 Thread Kevin Newman
I'd thought of that, but was hoping to something with less weight - I think it's Matrix/Vector math I need to learn about. Just to continue down this path - anyone have a recommendation for the most appropriate engine for mobile? Is there a physics engine that operates on non-screen objects

Re: [Flashcoders] bounce object off tilted wall

2010-09-28 Thread Glen Pike
Hi, You should be able to work out your angle of reflection in a similar way as you do for horizontal collision. 2 billiard balls - collision detection is easy - if the distance between the centre's is less than 2 x the radius you have a collision. I think there is some

Re: [Flashcoders] bounce object off tilted wall

2010-09-28 Thread Kevin Newman
On 9/28/10 2:25 PM, Glen Pike wrote: Keith Peter's Making Things Move book is really good. Jobe Makar's Flash MX Game Programming Demystified explained the basic concepts nicely too. I'm reading Keith Peter's book now. So far, very relevant - thanks! There are lots of tutorials online, so I