This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
One note, Matt.
First:
I fixed the physics bugs with the code in <http://www.sourcewiki.org/>
www.sourcewiki.org
Well, when I walk in a room and touch a physics object (a chair or a table),
the pitch parameter turns, but only one time.
I used cl_showanimstate to see it.
The aim_pitch turns from 0.0 to random number and the HL2DM model
change the pose animation
Why this change??
Sorry for my English.
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