Monad Engine da02fba2
> Undercity Codex_
Loading...
Searching...
No Matches
IdleClip.h File Reference

Procedural skeletal idle clip — used when an asset ships rigged but without baked animations. Produces a gentle breathing + sway loop on common humanoid bone names (shoulders, biceps, forearms, wrists). More...

#include <memory>
#include "Types.h"
+ Include dependency graph for IdleClip.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  mnd
 

Functions

std::shared_ptr< SkeletalAnimationClipmnd::MakeBreathingIdleClip (const Skeleton &skeleton, f32 duration=4.0f, f32 ampScale=1.0f)
 Build a looping breathing/sway clip targeting whichever of the canonical arm bones exist in skeleton. Bones it doesn't find are silently skipped, so this works for full bodies, FPS arms-only rigs, and partial rigs alike.
 

Detailed Description

Procedural skeletal idle clip — used when an asset ships rigged but without baked animations. Produces a gentle breathing + sway loop on common humanoid bone names (shoulders, biceps, forearms, wrists).

Definition in file IdleClip.h.