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

Reply via email to