← Back to Docs
  • index.html
  • Clayground
  • Clayground.Character3D
  • MartialArts
  • Clayground 2026.7
  • MartialArts QML Type

    The martial-arts move set: fourteen moves, from the neutral stance to a knockdown and back up off the floor. More...

    Import Statement: import Clayground.Character3D
    Inherits:

    MoveSet

    Detailed Description

    A loadable set, not part of the basic animations every Character carries - load it with character.moveSet = "martial arts" and play a move with character.playMove("roundhouse"):

    Orthodox throughout: the left side leads and jabs, the right is the rear and throws the cross, the uppercut and every kick. stance is the resting move, so a one-shot hands back to it; knockdown is the one move that does not - it holds the figure on the floor, which is where getUp starts.

    It ships beside FightAnim rather than replacing it: that is the basic set's boxing loop, this is a set a character is given.

    Every angle is in martialarts.js, which is Qt-free and checked by node martialarts.test.js.

    See also MoveSet, Character::moveSet, and FightAnim.