Alexa.Ki
(Alendromeda.ki)
1
Hello everyone, is it possible to write this code in one line.
GetCharacterMovement()->bUseControllerDesiredRotation = false;
GetCharacterMovement()->bOrientRotationToMovement = true;
I don’t wan’t to call GetCharacterMovement two times.
Thank You.
Hi Alexa.kl,
GetCharacterMovement() gets compiled into just the pointer anyway, so it’s not slow.
Alexa.Ki
(Alendromeda.ki)
3
Ok, Thank You to confirm it , I were thinking it could be expensive/slow.
Thank You very much