Odd periscope swivel on turrets
Issue #325
resolved
When turning turret from within periscope view the periscope swivels around oddly.
Comments (3)
-
-
- changed title to Odd periscope swivel on turrets
-
- changed status to resolved
Fixed in commit 58578fb.
- Log in to comment
Yes, see what you mean. It's a camera offset problem in cannon pawn's SpecialCalcFirstPersonView(). Offset is being applied relative to vehicle rotation, but not factoring in turret rotation (which now gets added to player's view rotation, so view rotation turns with the turret). Fixable.