code wiki / (root) / nx_creature_motion.nx

nx_creature_motion.nx

buildroot/runtime/nx_creature_motion.nx

2727 B47 linesdepth 5pulls 7 transitivereach 1 importersview sourcekind librarytopic creature
docsdependenciesstructsconstsfunctions

about

nx_creature_motion.nx -- UNIFY swap + motion: pose the smin SDF body from the FK rig (nx_bodypose) AND add nx_assetvariant SWAP SLOTS (horns/ears/tail/build) as parts BONE-ANCHORED to the head/pelvis, so the swapped features ANIMATE WITH the creature (a horned head turns and the horns swing; a tail rides the hips). This is the operator's convergence: one asset reused (a synthetic body), diversified by swapping, and given motion -> video. Fills the nx_sdfrender base each frame; renders on the production skin shader. license_tier: ORIGINAL

dependencies 5 imports · 1 importers

nx_syscalls.nx nx_sdfrender.nx nx_skeleton.nx nx_figure_render.nx nx_bodypose.nx nx_creature_motion.nx nx_creature_motion_gate.nx

imports: nx_syscalls.nxnx_sdfrender.nxnx_skeleton.nxnx_figure_render.nxnx_bodypose.nx

imported by: nx_creature_motion_gate.nx

structs

none

consts

none

functions

14func creaturepose_fill(base: i64, sk: i64, hv: i64, ev: i64, tv: i64, buildpct: i64) -> i64