tweak to headbob
This commit is contained in:
parent
4bf4af7217
commit
a4d308e64f
Binary file not shown.
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue