class

LookAt

Module
Animation
Header
#include "Animation/Procedural/ProceduralBones.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
voidSolveRotates constraint.bone in localTransforms (size must equal the skeleton's bone count) so its forward axis points at targetPos.

Function details

Solve

C++
static void Solve(const Skeleton& skeleton, const LookAtConstraint& constraint, const Vec3& targetPos, std::vector<Mat4>& localTransforms)

Rotates constraint.bone in localTransforms (size must equal the skeleton's bone count) so its forward axis points at targetPos.

Generated from Animation/Procedural/ProceduralBones.h via animation.json · Oct 26, 2026Version 1.0.0