mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
fix bug: variable should be float rather than int
This commit is contained in:
parent
5de762361a
commit
bcb0cb2c3c
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ void MyAvatar::simulate(float deltaTime) {
|
|||
{
|
||||
PerformanceTimer perfTimer("ragdoll");
|
||||
if (Menu::getInstance()->isOptionChecked(MenuOption::CollideAsRagdoll)) {
|
||||
const int minError = 0.01f;
|
||||
const float minError = 0.01f;
|
||||
const float maxIterations = 10;
|
||||
const quint64 maxUsec = 2000;
|
||||
_physicsSimulation.setTranslation(_position);
|
||||
|
|
Loading…
Reference in a new issue