Implement animation root motion deltas (#84)
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:
@@ -363,6 +363,16 @@ pub fn prepare_match(
|
||||
);
|
||||
return;
|
||||
}
|
||||
if !baked.contains_bone(&manifest.root_motion_bone) {
|
||||
fail_match(
|
||||
&mut next_state,
|
||||
&format!(
|
||||
"{:?} references missing root motion bone {:?}",
|
||||
character.fighter, manifest.root_motion_bone
|
||||
),
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
||||
let ecb_bone_indices = baked.bone_names.iter().enumerate().filter_map(|(idx, name)| {
|
||||
if manifest.ecb_bones.contains(name) {
|
||||
|
||||
Reference in New Issue
Block a user