Issues with Crawl stop

Cheo

Active member
Hello, I was working on the Crawl ability this evening and looked at the demo scene again as a reference, but saw two issues related to the end of the Crawl ability.

First, when entering a crawl trigger while crouching, when exiting the character is standing up for a few frames after playing the Crawl stop animation. Off the top of my head I'm not sure myself how to fix that, but in any case we should have a proper example here. This is not a nitpicking, imagine the same issue in Metal Gear Solid ! And the strangest part is that I checked the V2 agility demo scene, and it doesn't have that issue, even though the Crawl Stop animation and its transition to the Exit node seem identical between the V2 version and the current one.

Next, it is possible to get the character to restart the crawl ability when exiting a crawl trigger as shown in the video. What I failed to reproduce during the recording however was the character sometimes fully getting out of the trigger while crawling, but I assure you I did that 2 or 3 times.


As usual I hope that this can be helpful and looked at, thanks.
 
Another issue that I just noticed : when switching back from crawling to crouching, the Height animator parameter is set to zero. That is because of HeightChange.AbilityStopped :

C#:
            if (m_Height != -1) {
                SetHeightParameter(0);
            }

Since Crawl inherits from HeightChange this is naturally applied for it as well. I'm going to change this bit of code for my own project, but in any case this should get an official change as well. This parameter inconsistency can lead to the wrong animations being played, I've just seen this happening with standard roll animations being played instead of crouch roll animations in my game.
 
Back
Top