What's the difference between 'set actor location' and 'teleport'?

Hi,I want to know what’s the difference between these two function.And if i teleport a player in a multiplayer game(network state) do i always run these two functions on the server?Thanks very much!

TeleportTo

  • If the actor doesn’t fit exactly at the location specified, tries to slightly move it out of walls, unless if NoCheck is true.
  • If the actor cannot fit, it will not teleport, and the function will return false.

SetActorLocation

  • Move the actor instantly to the specified location.
2 Likes

Wow,Thank you very much!