Skip to content

Commit

Permalink
linear and angular velocity penalty were flips\ped
Browse files Browse the repository at this point in the history
  • Loading branch information
JulioJerez committed Sep 6, 2024
1 parent 37580ea commit e18e1b8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -451,13 +451,13 @@ namespace ndAdvancedRobot
const ndVector omega(body->GetOmega());
const ndVector veloc(body->GetVelocity());
ndFloat32 vMag2 = veloc.DotProduct(veloc).GetScalar();
if (vMag2 > 200.0f)
if (vMag2 > 400.0f)
{
return true;
}

ndFloat32 wMag2 = omega.DotProduct(omega).GetScalar();
if (wMag2 > 400.0f)
if (wMag2 > 250.0f)
{
return true;
}
Expand Down

0 comments on commit e18e1b8

Please sign in to comment.