quakespasm icon indicating copy to clipboard operation
quakespasm copied to clipboard

Increase viewangles roll limit to 180

Open fabiolimamp opened this issue 2 years ago • 3 comments

Quake historically puts a limit of 50 degrees for the player's v_angle Z component.

This limit seems arbitrary however, since the Z roll angle "sticks" and must be managed by the mod either way, and nothing breaks with it increased.

fabiolimamp avatar Nov 26 '23 22:11 fabiolimamp

@ericwa, @andrei-drexler: comments, objections?

sezero avatar Nov 26 '23 23:11 sezero

This looks like a sensible change, but maybe it should be controlled by a cvar (cl_maxroll, defaulting to 180)? That would make it consistent with the pitch limits (cl_minpitch/cl_maxpitch) and it would allow purists to go back to the original behavior by setting it to 50.

andrei-drexler avatar Dec 23 '23 06:12 andrei-drexler

Per @andrei-drexler suggestion, updated the PR with a new cl_maxroll cvar defaulted to 180.

fabiolimamp avatar Jan 06 '24 03:01 fabiolimamp