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 :slight_smile:

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.