Re: [hlcoders] Player hitbox rotating on the y axis and getting out of sync on strafe ?

2011-11-10 Thread Dan L
Thanks for sharing the fix On Tue, Nov 8, 2011 at 6:02 PM, Psy_Commando psycomma...@gmail.com wrote: Alright, I found the problem. The main source is in server/player_command.cpp in the void CPlayerMove::FinishMove( CBasePlayer *player, CUserCmd *ucmd, CMoveData *move ) function :

Re: [hlcoders] Player hitbox rotating on the y axis and getting out of sync on strafe ?

2011-11-08 Thread Psy_Commando
Alright, I found the problem. The main source is in server/player_command.cpp in the void CPlayerMove::FinishMove( CBasePlayer *player, CUserCmd *ucmd, CMoveData *move ) function : float pitch = move-m_vecAngles[ PITCH ]; if ( pitch 180.0f ) { pitch -= 360.0f; }

Re: [hlcoders] Player hitbox rotating on the y axis and getting out of sync on strafe ?

2011-11-07 Thread Saul Rennison
Looks like your hitboxes are using pitch from m_angViewAngles, or that you have a SetAbsAngles(m_angViewAngles) somewhere. Kind regards, *Saul Rennison* On 7 November 2011 02:06, Psy_Commando psycomma...@gmail.com wrote: Hello, I've been looking around for info on why it does this :

[hlcoders] Player hitbox rotating on the y axis and getting out of sync on strafe ?

2011-11-06 Thread Psy_Commando
Hello, I've been looking around for info on why it does this : http://www.youtube.com/watch?v=yP3ZGKfCehQ Basically the hitboxes are moving with the camera on the y axis and the hitboxes get out of sync when I strafe. I use a modified Alien Swarm player (not the marine npc), with the hl2mp