Thank you Andrew - it works perfectly! I'm quite ashamed at how easy that was to fix...
----- Original Message ----- From: "Andrew Ritchie" <[EMAIL PROTECTED]> To: "Discussion of Half-Life Programming" <[email protected]> Sent: Sunday, April 27, 2008 9:18 AM Subject: Re: [hlcoders] orange box tf2 third person animation code > Well here you go I guess, this isn't the ultimate soloution. But it works > and it's the simpilest > > just replace m_angEyeAngles[PITCH] in the local player update with the > EyeAngles()[PITCH] like they did with yaw and have fun. As I said above > all > you had to do was look at the way the animstate was updated. I can't > guarantee it's the ultimate soloution, perhaps predicting m_angEyeAngles > properly would be better, I can't say but for the most part this works. > > if ( this == C_SDKPlayer::GetLocalSDKPlayer() ) > m_PlayerAnimState->Update( EyeAngles()[YAW], EyeAngles()[PITCH] ); > else > m_PlayerAnimState->Update( m_angEyeAngles[YAW], > m_angEyeAngles[PITCH] ); > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

