Author Topic: Teleport Entity  (Read 905 times)


  • Full Member
  • ***
  • Posts: 114
    • View Profile
Teleport Entity
« on: April 10, 2015, 10:57:32 PM »
Hi guys,

So im using a TeleportEntity as
Code: [Select]
This obviously literally teleports from one place to another.

Is it possible to do this so that it actually MOVES there very fast? I've tried setting the Velocity vector, but that will then take you PAST the actual teleport position.

I want to ideally have it so that when you activate the skill, it moves you from current position to ENDPOS in about 1 second, but then stops at ENDPOS - so that you can actually see it move...

Hope that makes sense lol

Cheers :)


  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2437
  • chmod -R 777 *
    • View Profile
    • OwnageClan
Re: Teleport Entity
« Reply #1 on: April 11, 2015, 02:16:26 PM »
there is no easy to way to animate a player's movement. TeleportEntity only teleports

You would need a loop to set the position per game frame, which is also very chopping animation for the player
You can smooth out the choppiness by setting the velocity in the proper direction to smooth out motion