if you want to use physics
Quote: "ForcePlayer ( angle, velocity )"
if you just want to do it like a teleport use the freeze commands
Quote: "SetFreezeAngle(ax,ay,az)
SetFreezePosition(x,y,z)
TransportToFreezePosition()
or
TransportToFreezePositionOnly() --no angle needed, player can look around"
to work out where forwards is you'll need to use amen's
U.Rotate3D( x, y, z, xrot, yrot, zrot )
command
like
local ox,oy,oz = U.Rotate3D( 0, 0, forwarddist, math.rad(g_PlayerAngX),math.rad(g_PlayerAngY),math.rad(g_PlayerAngZ) )
SetFreezePosition(g_PlayerPosX+ox,g_PlayerPosY+oy,g_PlayerPosZ+oz)