Implement animation root motion deltas (#84)
CI / build-and-test (push) Successful in 1m33s
CI / production-build (push) Successful in 12m5s

Implements root motion and adds a dash attack.

Reviewed-on: #84
Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #84.
This commit is contained in:
2026-10-05 20:04:35 +00:00
committed by EIREXE
parent 5c277a00f0
commit 7a9adbd6a4
13 changed files with 459 additions and 23 deletions
+7
View File
@@ -62,12 +62,19 @@ pub struct FighterManifest {
pub icon: TextureReference,
pub attributes: FighterAttributes,
pub camera: FighterCameraProfile,
/// Bone whose model-space translation drives gameplay root motion.
#[serde(default = "default_root_motion_bone")]
pub root_motion_bone: String,
pub animations: HashMap<AnimKind, String>,
pub attack_scripts: HashMap<AttackKind, String>,
pub hurtboxes: Vec<FighterHurtbox>,
pub ecb_bones: Vec<String>,
}
fn default_root_motion_bone() -> String {
"root".into()
}
#[derive(Resource)]
pub struct FighterManifestAssets(pub Vec<Handle<FighterManifest>>);