fix non-local players interpolation and head direction

This commit is contained in:
MihailRis 2025-09-29 22:21:14 +03:00
parent e9222976ef
commit 75ef603df0
5 changed files with 29 additions and 25 deletions

View file

@ -412,7 +412,7 @@ void Entities::render(
const auto& size = transform.size;
if (!frustum || frustum->isBoxVisible(pos - size, pos + size)) {
const auto* rigConfig = skeleton.config;
rigConfig->render(assets, batch, skeleton, transform.combined, pos);
rigConfig->render(assets, batch, skeleton, transform.rot, pos);
}
}
}