Few questions stringed together
-
I have been working on simple functionality of the character controller and I was wondering if there was a debugging info box that could help give me feedback of the characters current velocities while I am running around with him.
-
I ask #1 because sometimes after I wall jump my vertical speed gets set to a constant so the character floats down to the platform at a diagonal path instead of a parabolic path. Is there a way i can re-instantiate gravity?
-
Another problem with the velocity during the wall jump is when I am touching the wall. I make it so he slides down at a consistent rate to represent “sliding”(Note that this does not cause problem #2). To do this is use:
if(touching wall)
{
movement.verticalSpeed = -5;
}
The problem here is if i jump off the wall and then back onto the wall without being grounded in between, The character will start to slide up the wall at the vertical speed 5. As if it took the original -5 and negated that.
I figured question #1 will help me debug #2 and #3 unless anyone has better ideas.
Thanks jlimbach