Can anyone please show me a working .fla example of this?
http://flashcove.net/268/uneven-terrain-clamping-in-flash-games-as3/
I have tried and tried but I cannot get this to work. I tried the code as is(with a little modification to fit my needs) and my hero would just bounce around on top of the bounding box. I figured this was because of hitTestObject only checking the bounding box so I used skinner’s class to check for the collision but it still won’t work. If anyone can show me how this is done I would be extremely grateful. Thanks :beer2: