mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 08:21:32 +02:00
reduce acceptable error for ragdoll simulation
This commit is contained in:
parent
2286eae64a
commit
2918feddf0
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ void MyAvatar::simulate(float deltaTime) {
|
||||||
{
|
{
|
||||||
PerformanceTimer perfTimer("ragdoll");
|
PerformanceTimer perfTimer("ragdoll");
|
||||||
if (Menu::getInstance()->isOptionChecked(MenuOption::CollideAsRagdoll)) {
|
if (Menu::getInstance()->isOptionChecked(MenuOption::CollideAsRagdoll)) {
|
||||||
const float minError = 0.01f;
|
const float minError = 0.00001f;
|
||||||
const float maxIterations = 10;
|
const float maxIterations = 10;
|
||||||
const quint64 maxUsec = 2000;
|
const quint64 maxUsec = 2000;
|
||||||
_physicsSimulation.setTranslation(_position);
|
_physicsSimulation.setTranslation(_position);
|
||||||
|
|
Loading…
Reference in a new issue