having a guy run across uneven surfaces or inclines..
Hi there, I'm experimenting with a platformer idea and it requires a character to be able to run up and down uneven surfaces.
my current approach and i'm not all that happy with it.. is to use a simple move behavior.. and since i'm going from left to right like most platform games.. i have the direction pointed at 340 degrees.. speed of 40.
the character moves on his own.. so its not like i have to be able to make him turn left and right or jump.. i just want him to run up and down the terrain and not get stuck.. there must be a better way that i can't think of...
Thanks!
Caleb
my current approach and i'm not all that happy with it.. is to use a simple move behavior.. and since i'm going from left to right like most platform games.. i have the direction pointed at 340 degrees.. speed of 40.
the character moves on his own.. so its not like i have to be able to make him turn left and right or jump.. i just want him to run up and down the terrain and not get stuck.. there must be a better way that i can't think of...
Thanks!
Caleb
Comments
But to answer your question in the thread. If your already using a move or accelerate behavior for regular movements, you could have it relative to actor instead of scene, and have it rotate to a set angle when it hits a hill, and have it rotate more when it hits steeper hill actors, so it turns to the right rotation and moves up the hill, while keeping the direction in the behavior the same.
Depends how you have it set up already.
Darren's great video:
@};- MH