I try to find where the code actually move the Character, but I can not find it.
I am using “Go to Difinition” key in Visual Studio.
AddMovementInput(Direction, Value);
then
void APawn::Internal_AddMovementInput(FVector WorldAccel, bool bForce /*=false*/)
{
if (bForce || !IsMoveInputIgnored())
{
ControlInputVector += WorldAccel;
}
}
I have searched “ControlInputVector” in “Entire Solution”, but nothing useful.
I have also searched
“GetMovementInputVector()”
“GetPendingMovementInputVector()”
“ConsumeMovementInputVector()”
and still nothing.
Can anyone show me where this ControlInputVector interacts with Velocity?