#Mob is not doing its idle animation.

20 messages · Page 1 of 1 (latest)

small root
#

Mob is not idling.

#

Mob is not doing its idle animation.

small root
#

Boop.

static umbra
#

It starts off in its idle state, and switches to either the walk or swim state just fine. What it was not told to do was transition back to the idle state between either the swim or walk states

#

Take the swim state for example. Once the controller gets here, it only knows that it can transition to the walk state.

"swim": {
  "animations": ["swim"],
  "transitions": [
    {
      "walk": "!query.is_in_water && query.is_on_ground"
    }
  ]
}
#

You need to set up some kind of transition to the idle state for it to go back, in both this swimming state and also the walk state

small root
#

Ahhh.

#

I think I may have fixed it now, added the transition in for “idle”.

#
          "animations": ["swim"],
          "transitions": [
            {
              "walk": "!query.is_in_water && query.is_on_ground"
            },
            {
              "idle": "!query.is_in_water && query.is_on_ground"
            }
          ]
        },```
#

Nope. All animations are broken still.

#

Alright I got the animations back, but, they’re frozen and spazzing out, even when they move.

#

I can only catch it from a phone or ipad. Since when I record it or take a screenshot on the pc, it stops.

#

Hmm- okay so its when they're on land, but water is fine.

small root
#
  "format_version": "1.19.0",
  "animation_controllers": {
    "controller.animation.general.move": {
      "initial_state": "idle",
      "states": {
        "idle": {
          "animations": ["idle"],
          "transitions": [
            {
              "swim": "query.is_in_water && !query.is_on_ground"
            },
            {
              "walk": "!query.is_in_water && query.is_on_ground"
            }
          ]
        },
        "swim": {
          "animations": ["swim"],
          "transitions": [
            {
              "idle": "!query.is_in_water && query.is_on_ground"
            },
            {
              "walk": "!query.is_in_water && query.is_on_ground"
            }
          ]
        },
        "walk": {
          "animations": ["walk"],
          "transitions": [
            {
              "idle": "!query.is_in_water && query.is_on_ground"
            },
            {
              "swim": "query.is_in_water && !query.is_on_ground"
            }
          ]
        }
      }
    },
    "controller.animation.burgvoir.hiss": {
      "initial_state": "idle",
      "states": {
        "idle": {
          "transitions": [
            {
              "hiss": "query.is_delayed_attacking && query.is_on_ground"
            }
          ]
        },
        "hiss": {
          "blend_transition": 0.2,
          "animations": ["hiss"],
          "transitions": [
            {
              "walk": "!query.is_in_water && query.is_on_ground"
            },
            {
              "idle": "!query.is_in_water && query.is_on_ground"
            }
          ]
        }
      }
    }
  }
}
#

You can answer whenever you have time, I'm just gonna keep poking around.

small root
#

Nvm, it’s fixed. I found it. Though the walk is broken now.

small root
#
  "format_version": "1.19.0",
  "animation_controllers": {
    "controller.animation.general.move": {
      "initial_state": "idle",
      "states": {
        "idle": {
          "animations": ["idle"],
          "transitions": [
            { "walk": "!query.is_in_water && query.is_on_ground" },
            { "swim": "query.is_in_water && !query.is_on_ground" }
          ],
          "blend_transition": 0.2
        },
        "walk": {
          "animations": ["walk"],
          "transitions": [
            { "swim": "query.is_in_water && !query.is_on_ground" }
          ],
          "blend_transition": 0.2
        },
        "swim": {
          "animations": ["swim"],
          "transitions": [
            { "walk": "!query.is_in_water && query.is_on_ground" }
          ],
          "blend_transition": 0.2
        }
      }
    },
    "controller.animation.general.hiss": {
      "initial_state": "walk",
      "states": {
        "walk": {
          "animations": ["walk"],
          "transitions": [
            {
              "hiss": "query.is_delayed_attacking && query.is_on_ground"
            }
          ]
        },
        "hiss": {
          "blend_transition": 0.2,
          "animations": ["hiss"],
          "transitions": [
            {
              "idle": "!query.is_in_water && query.is_on_ground"
            },
            {
              "walk": "!query.is_in_water && query.is_on_ground && !query.is_delayed_attacking"
            }
          ]
        }
      }
    }
  }
}
#

Nothing I do works with the idle animation-

small root