Skip to content
Snippets Groups Projects
Commit 54d82496 authored by Graham Madarasz's avatar Graham Madarasz
Browse files

Fix mismerge losing rollback change

parent 2dcc0a99
No related branches found
No related tags found
No related merge requests found
......@@ -383,7 +383,7 @@ BOOL LLFlyAdjustMotion::onUpdate(F32 time, U8* joint_mask)
F32 target_roll = llclamp(ang_vel.mV[VZ], -4.f, 4.f) * roll_factor;
// roll is critically damped interpolation between current roll and angular velocity-derived target roll
mRoll = lerp(mRoll, target_roll, LLCriticalDamp::getInterpolant(InterpDeltaSmaller));
mRoll = lerp(mRoll, target_roll, LLCriticalDamp::getInterpolant(0.1f));
LLQuaternion roll(mRoll, LLVector3(0.f, 0.f, 1.f));
mPelvisState->setRotation(roll);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment