Commit d7084503 authored by Thomas Kolb's avatar Thomas Kolb
Browse files

Tuned bot radius formula

parent c384c788
......@@ -53,7 +53,8 @@ void Snake::ensureSizeMatchesMass(void)
}
// update segment radius
m_segmentRadius = std::sqrt(m_mass) / 2;
m_segmentRadius = std::pow((20*m_mass+100), 0.3) - 3.9810717055349722;
// 100**0.3 --------^
}
real_t Snake::maxRotationPerStep(void)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment