Help needed!

b1indz3r0
Sat, 21 Apr 2007 18:56:38 +0000

re-write:

Im going to explain this a little bit better. I have two movieclips named terrain and character. The character has gravity working against it so it falls until it hits the terrain. You can control character with the arrow keys and as you make the movieclip move right and left he stays on top of terrain. Now terrain has a hill, and as you move character he moves up the hill but it is still at 90 degrees.

How can I code the script so that w/e degree the terrain is, character will maintain 90 degrees to the terrain. For example if the terrain’s elevation is increasing and the hill is 45 degrees going up, then character should be 90 degrees plus that. bare with me please I have been trying to figure this out for quite sometime.

Read full topic