Implement animation root motion deltas #84
@@ -217,6 +217,7 @@ impl FighterBoneMatrices {
|
|||||||
.unwrap_or(current);
|
.unwrap_or(current);
|
||||||
Some(interpolate_transform(previous, current, overstep_fraction))
|
Some(interpolate_transform(previous, current, overstep_fraction))
|
||||||
}
|
}
|
||||||
|
#[cfg(test)]
|
||||||
pub(super) fn set_pose(
|
pub(super) fn set_pose(
|
||||||
&mut self,
|
&mut self,
|
||||||
kind: AnimKind,
|
kind: AnimKind,
|
||||||
@@ -262,6 +263,7 @@ impl FighterBoneMatrices {
|
|||||||
true,
|
true,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
#[cfg(test)]
|
||||||
pub(super) fn resample_pose(
|
pub(super) fn resample_pose(
|
||||||
&mut self,
|
&mut self,
|
||||||
kind: AnimKind,
|
kind: AnimKind,
|
||||||
|
|||||||
Reference in New Issue
Block a user