How to get an angle between 2 Vectors in Local Coordinates?
Hi community :) What i want to do is dashing Actor2 around Actor1 when i targeted on him like in Dark Souls. I already did the dash and round moving of actor but it always start moving around from 0° degree that mean left side of actor thats why i need know angle between Actor1 and Actor 2 in Local Coordinates not in World Coordinates. Does anyone know the right formula? I will appreciate any format c++ or blueprints
I put this in a function library, so it can be used on either C++ or BP. It's standard Vector Math, so I didn't "invent" it, merely turned it into a UE4 format.
Simply pass any two vectors. You could take ActorA and Bs Position/Location, or their ForwardVector or RightVector.
answered Jan 22 '19 at 01:13 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here