| 01-22-2008, 02:36 AM | #1 |
Does anybody know why the CameraTargetPositionZ of a camera locked onto a unit is not the same as the unit's GetLocationZ value? Even on a completely flat terrain GetCameraTargetPositionZ fluctuates a lot while GetLocationZ seems to be a lot more precise (and constant on flat ground). *edit* More specifically, does anybody know the relation between GetLocationZ and GetCameraTargetPositionZ, given that the camera is focused on a unit that is ground-level. |
