mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
tweak to headbob
This commit is contained in:
parent
4bf4af7217
commit
a4d308e64f
2 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue