-
assigned issue to
Players operating static guns can pop from view (culling issue)
Issue #314
resolved
The player model on a gun pops from view at a distance.
Comments (2)
-
-
- changed status to resolved
Fixed in commit f123907.
- Log in to comment
I'll take this.
It's not a new bug; it was present in 5.1. Must have been there in RO as well, since the code that causes it is from UT2004.
When a pawn starts 'driving' a vehicle (and an AT cannon pawn is a Vehicle), if the driver is to be drawn the CullDistance gets set to 5000 units (83m). When he stops 'driving' the pawn's CullDistance gets reset to its default, which is zero, meaning never culled.