TheEnginesOfCreation / EntityPlus

EntityPlus is a mod that offers a true single player experience in the Quake III Arena videogame.
34 stars 5 forks source link

info_camera sometimes makes complete loop when panning #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The info_camera entity sometimes makes the view go from one position to another 
taking the long way around the axis. It may be necessary to have the level 
designer decide which way around it'll go.

Original issue reported on code.google.com by era...@gmail.com on 7 Sep 2011 at 10:00

GoogleCodeExporter commented 9 years ago
I have several different camera scenes, all of which use panning, no panning, 
and a combination of both.  I've had no issues.

I'm curious, what exactly are the steps to reproduce this issue?

Original comment by ryanbris...@gmail.com on 11 Sep 2011 at 1:53

GoogleCodeExporter commented 9 years ago
This has been fixed.
In some cases when a pitch value was negative, the game would calculate a pitch 
difference bigger than 180 the wrong way around. The fix makes sure pitch 
changes are always along the shortest angle, so a pitch never goes more than 
180 degrees.

Original comment by era...@gmail.com on 22 Sep 2011 at 9:23