mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 09:29:44 +00:00
feat: entity rotation interpolation
This commit is contained in:
parent
e24bae86eb
commit
9846ad289a
9 changed files with 82 additions and 15 deletions
|
|
@ -403,6 +403,9 @@ void Entities::update(float delta) {
|
|||
if (skeleton.interpolation.isEnabled()) {
|
||||
skeleton.interpolation.updateTimer(delta);
|
||||
}
|
||||
if (skeleton.rotationInterpolation.isEnabled()) {
|
||||
skeleton.rotationInterpolation.updateTimer(delta);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue