Noob question / Sorry (platform style game)

Hey guys sorry for the noob question.

I just wanted to get the basics for a character / world interaction such as a snowboarder going down a hill. Looking at the examples the object always moves off the stage. I am assuming that the object (in this case a snowboarder) would be a non moving object (possibly on a spring or limited movement) and the floor (slope) would be the moving object.

Is this correct? What are the basics of the physics engine that I would need to accomplish this task.

Thanks in advance for any help or even some links to an as3 code sample / previous forum entry etc.

The goal would be to end up with something similar to this (rag doll not required) - http://www.bakis.se/temp/downhill/
nah, Its just the what you see (the mcs) is adjusted.
The mc's positions are adjusted in each step, here:
Code:
scrollX = (9+1/2 - snowBoarderBody.GetPosition().x) * 30;
scrollY = (6+2/3 - snowBoarderBody.GetPosition().y) * 30 + 100;
for (var bb:b2Body=m_world.m_bodyList; bb; bb=bb.m_next) {
if (bb.m_userData is Sprite) {
bb.m_userData.x=bb.GetPosition().x * 30 +scrollX;//Here
bb.m_userData.y=bb.GetPosition().y * 30 + scrollY; // and Here
bb.m_userData.rotation=bb.GetAngle() * 180 / Math.PI;
}
}


Simple huh? 😉
HA! yea pretty simple. I am going to test it out and see what happens.

Thank you!

Original thread: https://box2d.org/forum/viewtopic.php?t=1459