CharacterTraits struct
#include <Jazz2/Actors/Player.h>
Constant per-character properties.
Character-specific constants shared by all players of the same PlayerType, so simple character differences live in one table instead of being scattered across switches. Behavioral differences (special moves, double jump, copter) remain in code.
Public variables
- StringView Metadata
- Path to the metadata with the character's animations and sounds.
- float WeaponFlareScaleY
- Vertical scale of the weapon flare effect.
-
std::
int32_t IdleBoredAnimCount - Number of bored idle animations the character can play.