PDA

View Full Version : wall collision methods...


til
11-15-2004, 08:51 AM
ATM i am using a function that uses pythagoras with trigonometry to work out diagonal lines where the character cant walk past (walls) this method is somewhat complicated and i was wondering what methods are used normally.... I have heard about using tiles and such-like but i cant do that with my project as i have done it differently........... any ideas? :D

Xeef
11-15-2004, 02:00 PM
Hmmm

hitTest mayby ?

til
11-15-2004, 06:17 PM
hit test is crap tho ;)

Xeef
11-15-2004, 06:21 PM
yep it is

but this are the tools Flash offer ;)

til
11-15-2004, 08:43 PM
i'll just stick to my nice and complicated trigonometry and pythagoras :D gotta learn it for my maths exam in a few weeks soooooo its all gooooood