I have a standard First Person Character. I want to “teleport” it to a new location. In the “MyCharacter” Blueprint I use the set Actor Location to do so. When triggered, the character moves to the new location only for a frame and goes back to where it was after.
Why does it comes back and how can I make the new location permanent?
As far as I know, it won’t be sufficient to place the actor manually, as it is controled by the UCharacterMovementComponent
Have you tried to call ACharacter::TeleportTo instead ?
I don’t know how to do that, I only do blueprint for now! Any simple way to get this working?
Not sure, can you disable the Charactermovement ?
Nodes:
- GetPlayerCharacter->GetMovememtComponent()->Deactivate();
- GetPlayerCharacter->SetActorLocation();
- GetPlayerCharacter->GetMovememtComponent()->Activate();
I bet there is an easier way