-
Notifications
You must be signed in to change notification settings - Fork 6
Bitmap API reference
-
flow <speed>
This function sets the speed at which the movement should move by.
Any range between0.1and2.0is accepted. -
rotate <bone> <x> <y> <z>
This function rotates a bone on an axis via the physics engine -
move <bone> <x> <y> <z>
This function moves a bone on an axis via the physics engine -
anim <name>
Plays a short movement animation if any are found inside the bot'smodels/<bot_id>.animation.json
Note that there are some restrictions on the animation name that you need to set up inside Blockbench:- There must be two animations present, one postfixed with
onthat will be played and held when the bit first turns on, and the other postfixed withoff - The animations all need to be prefixed with
animation.<bot_id>
For example, we have these in Blockbench:
animation.billy_bob.eyelids.on,animation.billy_bob.eyelids.offThey are referenced as such in the bits file:anim "eyelids"Animations don't use the physics engine, using
rotateandmoveis recommended unless you need to perform a complex movement that's not possible through those functions.
Animations will end up looking stiff unless you manually bake wiggle into your animations, as the physics engine cannot process wiggle for animated movement - There must be two animations present, one postfixed with
-
type <effect|..>
Specify the type of movement.
Currently supported types:-
effect: Disables sounds for the movement
-
-
wigglemul <number>
Adjusts how strong the bones will wiggle for this movement.
Note that this is VERY experimental and it may be changed or even removed.