I use SnapEyeAngles to modify my players rotation, try that.

On Fri, Apr 4, 2008 at 7:56 PM, Maarten De Meyer <[EMAIL PROTECTED]>
wrote:

> Implement CSDKPlayer::PostThink, call it's baseclass's PostThink and
> afterwards call SetAbsAngles() with your desired angles as parameter. That
> will modify the hitboxes.
>
> As for rotating the player model, I've hooked
> CSDKPlayerAnimState::ComputePoseParam_BodyYaw() to override angRender with
> what I want.
>
> What do you mean with "modify the actual display" ? If you're talking
> about first person view, the view angles, you'll have to do some extra
> work there ( mostly patching the input classes to process mouse movement
> in the rotated coordinate system ).
>
> hth,
>
> --Maarten
>
> P.S.: One remark I tend to make on this subject: if your goal is players
> wallwalking, be warned that it is near impossible to get perfect on
> randomly oriented surfaces due to the lack of SOLID_OBB support; on
> axis-aligned surfaces it's rather easy.
>
> > Ok, well i've been working trying to rotate a player. I've figured out
> > rotating the player model (just modify C_SDKPlayer::GetRenderAngles()).
> > However, this doesn't modify the angle the hitboxes are at and it
> doesn't
> > modify the actual display. Does anyone have any advice on how to get
> this
> > done?
> >
> > Thanks in advance,
> > Kenrick Rilee
> > _______________________________________________
> > 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
>
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to