PDA

View Full Version : getting the x and y coordinates


Deltapooh
05 Dec 04, 18:24
Just a quick question:

Which center point of the vehicle do I subtract from the weapon flash point?

There are two possible center points in ATF. The first is the center of picture in general and squared (Ex: the base vehicle has a 150px x 150px so the center is 75px)

The second is the center of the vehicle itself. This can vary depending on the desired rotation point.

So which one is it?

Pat Proctor
06 Dec 04, 01:29
The senter of the graphic frame (75 in your example).

Deltapooh
06 Dec 04, 02:11
Thanks.