#Mob is not doing its idle animation.
20 messages · Page 1 of 1 (latest)
Boop.
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
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.
Alright, so I tried to fix it, though it keeps either getting stuck in its walking animation when on land and doesn't do its idle animation. Or if I change it, it just slides around stuck in its idle animation, spazzing out.
"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.
Nvm, it’s fixed. I found it. Though the walk is broken now.
"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-
https://srcb.in/iLx4wAlg8A Tried rewriting, nothing works.