Predicament with GetPlayerCameraFrontVector
#2

GetPlayerCameraFrontVector doesn't give you the exact position to which you are looking at, it only gives "directions" AFAIK.

So, you need to combine cam pos and other to get the X,Y,Z World Coordinate that you want.

Take a look at this: GetPlayerCameraFrontVector

^ If you want to move an object to which your cam is looking at, then Instead of CreateObject use MoveObject to object_x, object_y & object_z...
Reply


Messages In This Thread
Predicament with GetPlayerCameraFrontVector - by Celson - 22.07.2011, 11:18
Re: Predicament with GetPlayerCameraFrontVector - by iPLEOMAX - 22.07.2011, 11:23
Re: Predicament with GetPlayerCameraFrontVector - by Celson - 22.07.2011, 11:29

Forum Jump:


Users browsing this thread: 1 Guest(s)