Player names flash like mad

Issue #482 resolved
Colin Basnett created an issue

Looking at players while moving causes their names to flash like mad giving everyone in a 100 foot radius an epileptic seizure.

Comments (1)

  1. Matt Hands

    Fixed in commit 82684a2.

    Problem was caused in commit 123, to fix https://bitbucket.org/darklightgames/darkesthour/issues/476/player-names-show-up-inconsistently-while crewing vehicles.

    Specific problem was my use of the PlayerController's CalcViewLocation (its last saved camera position) as a convenient eye location for the viewing player. Appears that it isn't stable enough.

    But the very good news is that using the PC's CalcViewRotation (last saved camera rotation) works fine - which is far more important that the saved camera location. CalcViewRotation at a stroke resolves all issues around vehicle occupants having PC rotation that is relative to the vehicle, which was screwing up a number of things.

    So have been able to keep the actual fix part of my earlier fix and simply revert back to original calculation of player's eye position.

  2. Log in to comment