RE: [hlcoders] Re: Yaw restriction (vALVE help possibly?)

2003-01-24 Thread Jim Hunter, M.D.
> > 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

RE: [hlcoders] Re: Yaw restriction (vALVE help possibly?)

2003-01-23 Thread Mazor
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