#(solved) smoother animations

1 messages · Page 1 of 1 (latest)

clever fable
#

why my plane feels like 2 fps when I fly it ?
{ "format_version": "1.8.0", "animations": { "animation.fighter.fly": { "loop": true, "bones": { "plane": { "rotation": [ "query.target_x_rotation*2", 0, "math.clamp(query.yaw_speed, -45, 45)*-1" ] } } } } }

dapper sleet
#

It must be because of the plane's flight animation and how awful Minecraft is at optimizing itself.

dapper sleet
#

And thanks for the code, dude, I'm gonna steal it.

#

🗣️

clever fable
dapper sleet
#

Thank you, darling.

dapper sleet
#

With everything you've given me, I can probably make a DLC for the addon, possibly Rank V and VI of the US and the USSR

ember hornet
#
{
  "format_version": "1.8.0",
  "animations": {
    "animation.fighter.fly": {
      "loop": true,
      "bones": {
        "plane": {
          "rotation": [
            "query.target_x_rotation * 2",
            0,
            "variable.bank = math.clamp(math.lerp(variable.bank, query.yaw_speed * -1, 0.12), -30, 30)"
          ]
        }
      }
    }
  }
}
#

Try this @clever fable

clever fable
clever fable
#

it works thank you @ember hornet but I had to make custom variables in pre animations (if anyone wanna do the same)

#

(solved) smoother animations