what is doing this blue print

Hi Guys,

i’m looking forward to understand this blueprint. part that i cannot understand is we are getting actor rotation then forward vector and multiplying 70 to something …

before the end we are adding both vectors? upper + above ??

i’m trying to rewrite this login in c++

It gets the character’s world position + 500 in Z as the starting Location. Then, it’s “moving” 70 units from this starting point, considering the Actor’s rotation Forward direction.

Starts from actor position. Move up 500 units, then move forward(Actor rotation) 70 units.

You can literally call all these nodes from C++ methods. The only one you will have to write differently is getting Actor’s Forward Vector:


FVector UKismetMathLibrary::GetForwardVector(FRotator InRot)

calling them from c++ code is good practice or bad? what about performance? because as i’m familiar using blueprints it’s slower executing compared to c++ project.

Math and space calculations are cheaper in Cpp!