Pitch AI Character Movement

The character movement dont got the angle of ground and set it on the Pitch rotation ?
If not, have a way to got the pitch and set it to the AI ?
I alredy try make a line trace, and make a z rotate but it look awkward.