Working on Portals, related questions
#35
MoveTo() is for internal use only, so perhaps it should not be exported to Lua at all.
Code:
// Tries to move to a new position, with collision checks and stuff
virtual void MoveTo( const Vector3d & a_NewPos );
As the description says, it should do collision checks and such, so it's not suitable for teleportation

Use cPawn:TeleportTo(x, y, z) instead
Reply
Thanks given by: Taugeshtu


Messages In This Thread
RE: Working on Portals, related questions - by FakeTruth - 09-07-2012, 09:32 PM



Users browsing this thread: 13 Guest(s)