In many vehicles, commander moving down from binoculars plays a wierd 'arm waving' animation

Issue #370 resolved
Matt Hands created an issue

Happens on any vehicle with a proper hatch opening (or similar) anim when the commander transitions up to the unbuttoned/raised position.

Problem is caused by the one way nature of RO's DriverTransitionAnim, which works as paired opposites between 2 adjacent positions, like unbutton/button up.

In the case of a binocs anim (i.e. commander with arms raised to eyes for binocs), if there is a genuine unbuttoning anim in the next lowest position, when he transitions down, it plays the unwanted unbuttoning anim for the new position. This shows a screwed up anim of the unbuttoned commander waving his arms in the air, because he's trying to open an invisible hatch over his head.

Doesn't affect most allied tanks as they don't have specific unbuttoning anims, so use a neutral arms by side anim when unbuttoning.

Comments (2)

  1. Matt Hands reporter

    Without re-designing the DriverPositions code to include 2 way DriverTransitionAnims, we can fix very simply by calling Driver.SetAnimFrame(1.0) when playing an anim on moving down from binocs. This jumps to the end of the anim & freezes there, so it effectively become an unbuttoned idle anim, which is what we need.

  2. Log in to comment