Does this fix the spastic behaviour you can see in gmod when you walk in 3rd person?
[QUOTE=TerabyteS;27070058]Does this fix the spastic behaviour you can see in gmod when you walk in 3rd person?[/QUOTE] That's covered on the VDC ( [url]http://developer.valvesoftware.com/wiki/SDK_Known_Issues_List#Animations_are_jittery[/url] )
handy
Your code above does nothing about the entirely incorrect playback rates for animations, which I can't seem to find any good fix for. Even my own fix (see below) only fixes it for other players that you can see in firstperson, but not yourself in third.
[cpp]void CHL2MPPlayerAnimState::ComputePlaybackRate()
{
VPROF( "CHL2MPPlayerAnimState::ComputePlaybackRate" );
if ( m_AnimConfig.m_LegAnimType != LEGANIM_9WAY && m_AnimConfig.m_LegAnimType != LEGANIM_8WAY )
{
// When using a 9-way blend, playback rate is always 1 and we just scale the pose params
// to speed up or slow down the animation.
bool bIsMoving;
float flRate = CalcMovementPlaybackRate( &bIsMoving );
if ( bIsMoving )
m_pHL2MPPlayer->SetPlaybackRate( flRate );
else
m_pHL2MPPlayer->SetPlaybackRate( 1 );
}
}
[/cpp]
[editline]30th December 2010[/editline]
I'm going to check to see if I'm incorrect, and use your code anyway. I'll fill you in on the details.
[QUOTE=amcwatters;27079043]Your code above does nothing about the entirely incorrect playback rates for animations, which I can't seem to find any good fix for. Even my own fix (see below) only fixes it for other players that you can see in firstperson, but not yourself in third.
~code
[editline]30th December 2010[/editline]
I'm going to check to see if I'm incorrect, and use your code anyway. I'll fill you in on the details.[/QUOTE]
My animstate is animations directions. Not the playback.
Did you add this to the wiki?
[QUOTE=tschumann;27087688]Did you add this to the wiki?[/QUOTE]
nope, feel free to add it.
Sorry, you need to Log In to post a reply to this thread.