Physics · interface

PoseTarget

Anything shaped like an animation pose. Declared structurally so nothing is imported.

Explained in Your first game, Rigid bodies.

interface PoseTarget
import type { PoseTarget } from '@driftengine/physics';

Properties

NameTypeDescription
translationreadonlyFloat32Array
rotationreadonlyFloat32Array
scalereadonlyFloat32Array