Posted By
|
Message
|
![](http://i835.photobucket.com/albums/zz278/W3R3W00F/W3R3W00Fcute.png) W3R3W00F Drum and Bass Fueled Psycho
Registered 08/11/2008
Points 377
![VIP Member VIP Member](tags/vipbadge.png) ![Cardboard Box Cardboard Box](tags/cardboardbox.gif)
|
18th February, 2009 at 02:56:12 -
I want it so that when my character goes up or down a slope, he changes his angle, rather than just falling down like badly programmed stairs. >< Anyways, I'm just asking how it would be done.
An old and washed up once-kid
|
![](http://i39.tinypic.com/2yvp46e.gif) -MacAdaM- Megaman Fosho
Registered 12/02/2008
Points 560
|
18th February, 2009 at 03:03:03 -
Probably have detectors in the ground, and when they are on a slope just change the angle.
Your just jealous that you're not as awesome as me.
(And my megaman avatar )
|
![](https://i.imgur.com/sLVzJGn.gif) UrbanMonk BRING BACK MITCH
Registered 07/07/2008
Points 49667
![Has Donated, Thank You! Has Donated, Thank You!](tags/coins.gif) ![Little Pirate! Little Pirate!](tags/lilpirate.png) ![ARGH Sign ARGH Sign](tags/argh.gif) ![Kliktober Special Award Tag Kliktober Special Award Tag](tags/scarytag2.png) ![Picture Me This Round 33 Winner! Picture Me This Round 33 Winner!](tags/picturemethisbandit.gif) ![The Outlaw! The Outlaw!](tags//r2.gif) ![VIP Member VIP Member](tags/vipbadge.png) ![Hasslevania 2! Hasslevania 2!](tags/r1.gif) ![I am an April Fool I am an April Fool](tags/fool.png) ![Kitty Kitty](tags/../uploads/cat.gif)
![Picture Me This Round 32 Winner! Picture Me This Round 32 Winner!](tags/picturemethisbandit.gif) ![Picture Me This Round 42 Winner! Picture Me This Round 42 Winner!](tags/picturemethisbandit.gif) ![Picture Me This Round 44 Winner! Picture Me This Round 44 Winner!](tags/picturemethisbandit.gif)
|
18th February, 2009 at 04:40:44 -
Here is a simple way to do it. Its not exact though, if you want to be exact you'll have to use trig functions.
If your engine doesn't require anything complex, and the slopes aren't extreme, this'll work
http://www.jsoftgames.com/slopeangleengine.zip
n/a
|
|
|