- Home /
Clickk to Move - Bridges?
Hi Guys,
I have written a click to move script, which works great. I have set the character to always be grounded to the current terrain height. But for the life of me i cannot work out how to have the character walk across a bridge (as ive stuck the transform on the terrain height). If i remove the stuck to terrain height the character will "fly" across hills etc. Any help on this would be greatly appreciated, thanks :)
We need more information about how you move that character. Character controller, addforce, translate ?
Thanks for your help :). I am using transform.Translate, I did use a character controller but it appeared to move the character really slowly down hill!
Answer by Berenger · Mar 10, 2012 at 07:22 PM
I guess it's worth an answer after all :
You should use character controller if there is physic involved (gravity, obstacles, slopes etc). For the speed on slopes, play around with "slope speed multiplier" of character motor. the x value of the curves represent the angle of the slope.
Your answer
Follow this Question
Related Questions
Basic 2d movement problem: glitching in terrain 0 Answers
directional light following player 2 Answers
Movement in my terrain ? 2 Answers
HDRP template terrain layers problem 1 Answer
The name 'Joystick' does not denote a valid type ('not found') 2 Answers