anticept, the amount of math is actualy not much.
i'll have a look at it when i have time (the match that is, you guys can do the lua for now, hehe)
EDIT:
should be something like this:
Code:pos = PlayerPos(); rot = PlayerRot(); radianFactor = pi/180; delta.x = sin(rot.yaw*radianFactor); delta.z = cos(rot.yaw*radianFactor); delta.y = sin(rot.pitch*radianFactor); aimpos = pos + delta;


LinkBack URL
About LinkBacks






Reply With Quote

Bookmarks