NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
Shared

Contains model-related definitions that are shared across different parts of the library. More...

Typedefs

using nnl::model::BoneIndex = u16
 Represents a concrete bone index in a skeleton/bone array.
using nnl::model::BoneTarget = u16
 Represents a generic bone identifier.

Detailed Description

Contains model-related definitions that are shared across different parts of the library.

See also
nnl::model::Model
nnl::colbox::CollisionBox14

Typedef Documentation

◆ BoneIndex

Represents a concrete bone index in a skeleton/bone array.

See also
nnl::model::Model::skeleton

◆ BoneTarget

Represents a generic bone identifier.

A bone target is a generic bone id that can be mapped to a concrete bone in the skeleton. This allows the games to interact with specific body parts (e.g., "Right Hand" or "Head") regardless of the model's actual hierarchy.

For example, these IDs are used to:

  • Determine where to attach effects (e.g., Rasengan).
  • Identify bones for procedural animation (like moving a character's head).
  • Attach collision boxes for specific limbs.
See also
nnl::model::HumanoidRigTarget
nnl::model::Model::bone_target_tables
nnl::colbox::CollisionBox14