Is there any function to rotate one point around another point by angle?

I found a arithmetic formula on forum:

Is there any function packaged with similar formula in UE4 to rotate FVector A around FVector B by FRotator C?

1 Like

B+C.RotateVector(B-A)

B-A - get Vector A in B local space
C.RotateVector(…) rotate it around
B+… - get world space location

that works! thx so much for help! B+C.RotateVector(A-B) would be better.
have a nice day~

1 Like

My entire game is based around angles in 2d and 3d space. Let me know if anything else comes up.

that’ great! thx so much!

Just use func RotateVectorAroundAxis