Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actuallipsryme

Posted 06 December 2012 - 09:01 AM

So what I could do is somehow move my character along the tangent, that I calculate from the hitNormal ?

Update: the movement seems to work, but I'm still having a hard time trying to limit the movement while on the wall.
Update2: I think I've got it:

The problem I had was that I was calculating the tangent wrong. What I do now is just do a cross between the hitNormal and a forward vector on the z axis.

#3lipsryme

Posted 06 December 2012 - 08:24 AM

So what I could do is somehow move my character along the tangent, that I calculate from the hitNormal ?

Update: the movement seems to work, but I'm still having a hard time trying to limit the movement while on the wall.

#2lipsryme

Posted 06 December 2012 - 07:02 AM

So what I could do is somehow move my character along the tangent, that I calculate from the hitNormal ?

#1lipsryme

Posted 06 December 2012 - 06:22 AM

So what I could do is somehow move my character along the tangent, that I calculate from the hitNormal ?
That would be quite a lot of code/math to calculate this. I just thought there might be an easier way ?

PARTNERS