Skip to content

Body parts

Every limb on its own: head, body, both arms, both legs. For waves, dances and poses of your own - on top of MineFunkin's animation, or instead of it.

How to use it

Write them as player.head.pitch, opponent.leftArm.roll, fighter[i].rightLeg.scale, boyfriend.body.yaw ... - the parts are head, body, leftArm, rightArm, leftLeg, rightLeg.

"Right", "left" and "forward" are the figure's own: your fighter is seen from behind, so its right is your right; the opponent faces you, so its right is on your left. Both arms at roll = 90 is a T-pose for either; an arm straight up is roll about 165.

Everything goes on top of MineFunkin's own animation. With animate = false on the fighter the animation stops and your values are the whole pose.

Works in fights and on practice's puppets. Back home: resetFighter(who) (practice: resetPuppet) or reset(player.head).

Example code

-- A wave: the right arm goes up and swings.
player.rightArm.roll = 150
for i = 0, 3 do
    after(beats(i * 0.5), function()
        tween(player.rightArm.roll, i % 2 == 0 ? 120 : 160, beats(0.5), "sineInOut")
    end)
end
after(beats(2), function() resetFighter("player", beats(0.5)) end)

Properties

Property Kind Default
player.‹part›.pitch number 0 Degrees forward: the head nods, the body bends, an arm or leg swings forward.
player.‹part›.yaw number 0 Degrees turned to the figure's right.
player.‹part›.roll number 0 Degrees: the head and body tilt to the figure's right, an arm or leg swings outward.
player.‹part›.x number 0 Moved to the figure's right, in model pixels (16 = a block).
player.‹part›.y number 0 Moved up, in model pixels.
player.‹part›.z number 0 Moved forward, in model pixels.
player.‹part›.scale number 1 Its size, around its joint.
player.‹part›.squash number 0 Squash (positive) or stretch (negative), around its joint, volume kept.

player.‹part›.pitch

number player.‹part›.pitch · opponent.‹part›.pitch · fighter[i].‹part›.pitch · puppet[i].‹part›.pitch = 0

degrees

Degrees forward: the head nods, the body bends, an arm or leg swings forward.

player.‹part›.yaw

number player.‹part›.yaw · opponent.‹part›.yaw · fighter[i].‹part›.yaw · puppet[i].‹part›.yaw = 0

degrees

Degrees turned to the figure's right.

player.‹part›.roll

number player.‹part›.roll · opponent.‹part›.roll · fighter[i].‹part›.roll · puppet[i].‹part›.roll = 0

degrees

Degrees: the head and body tilt to the figure's right, an arm or leg swings outward.

player.‹part›.x

number player.‹part›.x · opponent.‹part›.x · fighter[i].‹part›.x · puppet[i].‹part›.x = 0

blocks

Moved to the figure's right, in model pixels (16 = a block).

player.‹part›.y

number player.‹part›.y · opponent.‹part›.y · fighter[i].‹part›.y · puppet[i].‹part›.y = 0

blocks

Moved up, in model pixels.

player.‹part›.z

number player.‹part›.z · opponent.‹part›.z · fighter[i].‹part›.z · puppet[i].‹part›.z = 0

blocks

Moved forward, in model pixels.

player.‹part›.scale

number player.‹part›.scale · opponent.‹part›.scale · fighter[i].‹part›.scale · puppet[i].‹part›.scale = 1

Its size, around its joint.

player.‹part›.squash

number player.‹part›.squash · opponent.‹part›.squash · fighter[i].‹part›.squash · puppet[i].‹part›.squash = 0

Squash (positive) or stretch (negative), around its joint, volume kept.