For entity angles, I think you're looking for something along the lines of
GetAbsAngles()/SetAbsAngles().  Note that GetLocalAngles()/SetLocalAngles()
doesn't refer to the object's own frame of reference (which wouldn't make
sense), but to the moveparent's frame of reference (if the moveparent
exists).

For eye-angles stuff, you'll probably do something like creating a rotation
matrix and grabbing the entity's transformation matrix, then combining them
with ConcatTransforms().

-John Sheu

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

Reply via email to