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"
}
]
}
}
}
}
}
Create an account or sign in to comment.
4
wowo
I see, very helpful. I’ll see if that fixes it.
try changing transitions so there formatted like this?
"transitions": {
"startmoving": "q.modified_move_speed > 0"
}
"transitions": {
"startmoving": "q.modified_move_speed > 0"
}
I don’t think that’s it. The animations themselves work, they just don’t time properly.