#animation speed based on entity movement speed

1 messages · Page 1 of 1 (latest)

native sparrow
#

I looked up molang queries to have entities with animations that use keyframes to be tied to the entity's movement speed.
The idea is for the entity to have a walking/running animation that matches their movement speed.
If they are moving slowly, the animation is slower. And vice versa.

The animation is easier to set with keyframes because math based movements would be too complicated.
But now I want the animation speed to be affected by the entity moving.

I know there is this molang query: q.modified_move_speed
How am I to apply it in blockbench or more so in the addon's code?

magic agate
native sparrow
#

in time update?
Does that control the animation speed?

magic agate
#

yes

native sparrow
#

thanks

#

for your example, you added * 0.2
What does this do for your animation?

magic agate
outer flint
#

bookmarked

frosty plaza
#

upping this because it helped me

pliant sonnet