Please disregard my question, I just found out about VectorAngles(...). So I can use the SnapEyeAngles(...) conveniently now :)
Thank you, Walter On 10/24/07, Walter Lucman <[EMAIL PROTECTED]> wrote: > Hi all, > > I am working on weapon auto lock target functionality. You press and > hold a trigger, and your view direction will be lock following a > certain enemy. > > Currently I am working on a function to convert Vector to QAngles, so > I can use CHL2_Player::SnapEyeAngles(...). > > I wonder if there is an easier way to achieve it, since I saw there is > CHL2_Player::GetAutoaimVector( autoaim_params_t ¶ms ) but could > not find way to use it nor any related documentation/tutorial. > > Any insight on the matter would be greatly appreciated. > > Thanks in advance, > Walter > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

