..but finally, I've managed to get my character moving smoothly over slopes. I tried various methods of rotating the character and trying to hit-test him against the slopes, but the hit test simply wouldn't work. There was absolutely no reason why it wasn't working, and to be honest I think I probably ran into a bug in actionscript.
However, using a single pixel bitmap to work out how far the character needs to rotate worked perfectly and here is the proof in all its smooth slope-gliding glory!
Link
Monday, March 3, 2008
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment