I began learning AS3 almost a month ago after fiddling about with a few other languages, and i think I have the basics down. I am able to make a simple platformer using tiles and flat surfaces, but now im hitting a snag. If i want to use a curved surface, i cant simply test where my character is in relation to the top of the MC, as the surface varies in hight throughout the MC now. The only way i can think of is using a hitTestPoint to see if the bottom of the character is overlapping with an active pixel on the floor mc, and move it up by a small amaount until it no longer overlaps, and using a hitTestPoint on other side of the first point to determine the angle. Is there a better way of doing this, such as calculating the position of the nearest blank pixel, or is moving the character up in steps the only way? In case you dont know what im talking about, imagine a curved skateboard ramp, and a character tries to run up it. I know how to test for the collision, but not how to actually handle it, and set the character back ontop of the ramp. Any help would be appreciated

.