> > I need to figure out a way to restrict the players' yaw
> movement to a
> > certain cone. I slaved over my keyboard for hours trying to
A better place to do this is in CL_CreateMove - then you limit the view
angles before any other code uses it. Note that there are a lot of places
in input.cp
Doesn't that code just check if the player has new angles? That's not
really what I'm looking for... I tried several methods of yaw
restriction, here they both are:
This one used arc length to determine a boundary:
if( ent->curstate.iuser3 & FL2_USINGBIPOD )
{
floa
2 matches
Mail list logo