--
[ Picked text/plain from multipart/alternative ]
UTIL_VecToYaw( playerPos - turretPos ) and UTIL_VecToPitch will give you the
yaw and pitch which you can then use as the ideal angles then just set your
pose params to the difference between your angle and those, clamp if
necessary.  The UTIL functions use some trig which you should take a look at
since it does come in handy for atleast understanding how to go about
solving some of these types of issues.
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to