tweak to headbob

This commit is contained in:
c0ffee 2022-10-25 12:54:31 -07:00
parent 4bf4af7217
commit a4d308e64f
2 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ namespace Rimworld_Animations {
if(headFacing.IsHorizontal && mirror) { if(headFacing.IsHorizontal && mirror) {
headFacing = headFacing.Opposite; headFacing = headFacing.Opposite;
} }
headBob = new Vector3(0, 0, clip.HeadBob.Evaluate(clipPercent)); headBob = new Vector3(0, 0, clip.HeadBob.Evaluate(clipPercent)) * pawn.story.bodyType.bodyGraphicScale;
lastDrawFrame = RealTime.frameCount; lastDrawFrame = RealTime.frameCount;