JannisX11 / blockbench-plugins

Blockbench plugin repository
120 stars 159 forks source link

[Figura|Feature] `quary.anim_time() * n` support/auto convert #647

Open x-yingcan-x opened 1 week ago

x-yingcan-x commented 1 week ago

In Blockbench, it's 360 for a circle of math.sin, but in Figura, it's 2*pi; also, in blockbench, you get the animation time from quary.anim_time, but for Figura, you need animations.%model%.%anim_name%:getTime().

So quary.anim_time*360 in blockbench should be animations.example_model.example_anim_name:getTime()*math.pi*2 to works in Figura

This is quite annoy when making animations with math expressions, you either can't directly see it in blockbench or ingame.