I have some code which works off the PC in the PlayerWalking state and PlayerMove function that works out if the player is on a slope and adjusts their rotation/pitch.
One trace checks if the landscape is an upward slope and the other if its a downward slope. If theres a slope I adjust the rotation of the player e,g, Pawn.SetRotation(angledRotationDown);
It all works pretty well except I think because its running either 1 or sometimes 2 traces constantly I think this is impacting other stuff with the playerinput, I find some key press events are not triggering.
Has anyone got another suggestion as to how this could be done more efficiently? I was thinking through the anim tree but nothing lept out at me saying do it this way …