Quote from: DizzasTeR on Aug 24, 2021, 09:21 AMMy bad, didn't read the function name closely. If the Z coordinate is in negative, the vector is formed behind the player's screen (from my last experiment)Quote from: Xmair on Aug 24, 2021, 05:43 AMThis function is used to convert the world's 3D co-ordinates to the client's 2D screen co-ordinates.
Its the other way around. The Z parameter in Screen -> World Pos or World Pos -> Screen represents visibility. Value is between -1 or 0 (forgot exactly) if the vector is not visible on screen and anything else if it is. (You probably have to test)




