Calculating the length of a vector in Unreal Engine
I had to calculate the length of a vector recently, and had no idea where to begin. In my little farm/planting project, I’ve used Line Tracing to plant a vegetable on the floor. However, I needed a limitation as to where the player can plant things. They should not be allowed to plant directly underneath …