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?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jose Luis Gonzalez Sent: Tuesday, January 18, 2005 2:10 PM To: [email protected] Subject: [hlcoders] RE: HL2DM SDK in January or February? Matt This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] I change the pose parameter in this function in base_playeranimstate.cpp, Using HL2DM animations. void CBasePlayerAnimState::ComputePoseParam_BodyPitch() { // Get pitch from v_angle float flPitch = m_flEyePitch; if ( flPitch > 180.0f ) { flPitch -= 360.0f; } flPitch = clamp( flPitch, -90, 90 ); // See if we have a blender for pitch int pitch = GetOuter()->LookupPoseParameter( "aim_pitch" ); if ( pitch < 0 ) return; SetOuterPoseParameter( pitch, flPitch ); g_flLastBodyPitch = flPitch; } I changed LookupPoseParameter("body_pitch") with LookupPoseParameter( "aim_pitch"). But don't work. Can this be a pitch bug in SDK?? -- _______________________________________________ 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

