QtCraft API C++ classes QML types Handbook

<common/physics/QcPose.h>

Declarations at global scope in common/physics/QcPose.h. More...

Header: #include <common/physics/QcPose.h>

Types

enum class QcPose { Standing, Lying, Sitting }

Detailed Description

Type Documentation

enum class QcPose

How a body holds itself (decision E-423): its box, the height of its eyes and its animation follow from it.

A villager in its bed lies (decision E-411); tamed animals will sit (stage 52).

ConstantValueDescription
QcPose::Standing0Upright.
QcPose::Lying1On its back, its feet towards where it faces (QcPhysics::lyingBoxAt).
QcPose::Sitting2On its haunches: the legs point forward, the box stays the standing one (as in the reference).