2

Animation not working

Kraggle0911/7/24 12:57 pm history
11/7/2024 3:04 pm
Kraggle09
So I've been working on this pack, and for the most part it works. The animations themselves work fine, but the controller for it isn't doing what I want it to. The below code is intended to run the startmove animation first, then move into the looping move animation. But it does the opposite. It idles, moves into the looping move animation, then plays the startmove animation when the entity stops moving. Any ideas?

{
"format_version": "1.10.0",
"animation_controllers": {
"controller.animation.gizmo1.walk": {
"initial_state": "standing",
"states": {
"standing": {
"blend_transition": 0.2,
"animations": ["idle"],
"transitions": [
{
"startmoving": "q.modified_move_speed > 0"
}
]
},
"startmoving": {
"blend_transition": 0.2,
"animations": ["startmove"],
"transitions": [
{
"moving": "q.modified_move_speed > 0.1"
}
]
},
"moving": {
"blend_transition": 0.4,
"animations": ["move"],
"transitions": [
{
"standing": "q.modified_move_speed < 0.1"
}
]
}
}
}
}
}
Posted by
Kraggle09
Level 32 : Artisan Procrastinator Explorer
24

Create an account or sign in to comment.

4

JagdpantherKing131
11/07/2024 2:20 pm
He/Him • Level 37 : Artisan Wolf Warrior
wowo
1
Kraggle09
11/07/2024 3:04 pm
He/Him • Level 32 : Artisan Procrastinator Explorer
I see, very helpful. I’ll see if that fixes it.
2
niceninjapro
11/07/2024 2:10 pm
Level 1 : New Miner
try changing transitions so there formatted like this?

"transitions": {
  "startmoving": "q.modified_move_speed > 0"
}
1
Kraggle09
11/07/2024 3:04 pm
He/Him • Level 32 : Artisan Procrastinator Explorer
I don’t think that’s it. The animations themselves work, they just don’t time properly.
1

Welcome