Hi all.
How to calculate distance from the character to object under him at any moment? It turns out as on the image, the character moves to the right and under him the distance to the earth changes how to me to receive this size, in a detail of n, m, k?
Do you mean to solve this is C++ or BP?
If for BP just have a look at this:
https://docs.unrealengine.com/latest/INT/Gameplay/HowTo/UseRaycasts/Blueprints/index.html
This question deals with the C++ approach:
https://answers.unrealengine.com/questions/3446/how-would-i-use-line-trace-in-c.html
It can work! I will sit down later and I will try this option. Whether I will write it turned out to reach the necessary
Thanks for the help!
IT’S WORK! Thanks man))