This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
>What happens when you step through it? Does it successfully get the
>index of the pose parameter? Is the pitch correct? Does
>SetOuterPoseParameter do the right thing?
Not in the Pose Parameter. I debug the SDK, I find the problem in the
C_SDKPlayer:UpdateClientSideAnimation()
In this condition:
if ( this == C_SDKPlayer::GetLocalSDKPlayer() )
m_PlayerAnimState->Update( EyeAngles()[YAW],
m_angEyeAngles[PITCH] );
else
m_PlayerAnimState->Update( m_angEyeAngles[YAW],
m_angEyeAngles[PITCH] );
Ok, I changed the first to:
m_PlayerAnimState->Update( EyeAngles()[YAW], EyeAngles()[PITCH] );
When I change the m_angEyeAngles[PITCH] to EyeAngles()[PITCH], HL2DM now
always change the pose parameter ("aim_pitch").
UpdateClientSideAnimation always returned in m_angEyeAngles a Vector(0,0,0)
in pitch parameter.
Thanks for the help, now the HL2DM models works perfect!!.
Also works with the terror.mdl!!.
This is a SDK bug or the condition works for other models???.
Thanks to all. I'm happy now!! :-)
--
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders