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
+4 -1
View File
@@ -41,6 +41,7 @@ pub enum ViewerAttack {
UpSmash,
DownSmash,
ForwardSmash,
DashAttack,
}
impl From<ViewerAttack> for AttackKind {
@@ -58,6 +59,7 @@ impl From<ViewerAttack> for AttackKind {
ViewerAttack::UpSmash => Self::UpSmash,
ViewerAttack::DownSmash => Self::DownSmash,
ViewerAttack::ForwardSmash => Self::ForwardSmash,
ViewerAttack::DashAttack => Self::DashAttack,
}
}
}
@@ -100,7 +102,7 @@ struct ViewerState {
manifest_path: String,
}
const VIEWER_ATTACKS: [AttackKind; 12] = [
const VIEWER_ATTACKS: [AttackKind; 13] = [
AttackKind::NeutralAir,
AttackKind::ForwardAir,
AttackKind::BackAir,
@@ -113,6 +115,7 @@ const VIEWER_ATTACKS: [AttackKind; 12] = [
AttackKind::UpSmash,
AttackKind::DownSmash,
AttackKind::ForwardSmash,
AttackKind::DashAttack,
];
pub struct HitboxViewerPlugin;