-
Bug
-
Resolution: Unresolved
-
None
-
1.20.10.23 Preview, 1.20.10.20 Preview, 1.20.73 Hotfix
-
Community Consensus
-
Multiple
-
1046957
The player animation controller tells the game to use the crawling animation whenever query.is_crawling is true, but that query only counts for the player's exact state and disregards transition times, which causes the animation to stop instantly. Since crawling also increases the value of variable.swim_amount, the swimming animation is used for the transition instead.
Steps to Reproduce:
- Enable the Crawling experiment;
- Place an open trapdoor 1 block off the ground;
- Stand under the trapdoor and close it;
- Switch to third person front perspective and look up;
- Open the trapdoor.
Observed Results:
The player model is instantly standing up because of your camera rotation;
Expected Results:
The player model transitions from laying down to standing up.
Screenshots/Videos attached: Yes
Notes: This can be fixed by changing the crawling controllers in player.animation_controllers.json to use variable.swim_amount > 0.0 instead of query.is_crawling just like the swimming animation, and then using query.is_in_water to differentiate between the two, which would look like this:
{ "swimming" : "variable.swim_amount > 0.0 && query.is_in_water" }, { "swimming.legs" : "variable.swim_amount > 0.0 && query.is_in_water" }, { "crawling" : "variable.swim_amount > 0.0 && !query.is_in_water" }, { "crawling.legs" : "variable.swim_amount > 0.0 && !query.is_in_water" }