Why is my Player teleporting with a movable actor when based on top?


I’m moving an actor in C++ with SetActorLocation, though when the player is based on top of the actor when the actor is moved the player will move with it. It seems like the player’s collision capsule is kind of semi-attached to the actor when standing on it, though using Detach in C++ doesn’t fix this.

Does anyone have any suggestions on how to ensure the player does not teleport with the actor?


What you are seeing is ‘based movement’, which for characters is by design for standing on most Actors.

If you want an actor that does not act as a base for a character, you can override AActor::CanBeBaseForCharacter to suit your needs.

Hi Tom,

Thanks for the reply, that done the trick.