[help!] Get facing floor slope
Is there a way for a blueprint to work out (based on the direction the character is facing) the gradient of the slope ahead? Specifically, based on direction, such as going up a slope = A, going down the slope = B?
asked Jan 31 '15 at 12:31 PM in Blueprint Scripting
You could take your character position Z coordinate and compare it to the value of the Hit Coordinate you get when you run a Line trace.
More on Line Trace function: https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/index.html#singlelinetrace
Tip: to get the Location use a break Hit node.
answered Jan 31 '15 at 02:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here