Download

Bbest way to move a pawn or playercontroller using physics?

hello

I was starting to learn how to move a character/pawn using gravity, collision, etc. Actually i´m moving it with FVector traslation (using SetActorLocation() and SetActorRotation()) but even adding a capsule collider component, my carácter went through wallsm floats on air and not going really forward direction else world X direction…i mean, even if you rotate, there is no orientation change while moving…

I have seen AddMovementInput(), does it Will make the job? On Unity i used CharacterController.Move that handles physics too…

Any clue how to make it on Unreal?

thanks.

My auto-answer, a Character Will do the job…
Now, i have programmed it using



AddMovementInput(GetActorForwardVector(), amount);


This is triggered by Binded Axis from SetupPlayerInputComponent()

Compiles fine, but at play time, nothing happens, can´t move… any clues?

Thanks in advance…