mirror of
https://gitgud.io/c0ffeeeeeeee/rimworld-animations.git
synced 2024-08-15 00:43:45 +00:00
renaming
This commit is contained in:
parent
9a6df8606d
commit
16cba95463
1 changed files with 2 additions and 2 deletions
|
@ -406,8 +406,8 @@ namespace Rimworld_Animations {
|
|||
headFacing = headFacing.Opposite;
|
||||
}
|
||||
headBob = new Vector3(0, 0, clip.HeadBob.Evaluate(clipPercent));
|
||||
Vector2 bodyOffset = (pawn.story?.bodyType?.bodyGraphicScale != null ? pawn.story.bodyType.bodyGraphicScale : Vector2.one);
|
||||
headBob.z *= bodyOffset.x;
|
||||
Vector2 bodyScale = (pawn.story?.bodyType?.bodyGraphicScale != null ? pawn.story.bodyType.bodyGraphicScale : Vector2.one);
|
||||
headBob.z *= bodyScale.x;
|
||||
|
||||
lastDrawFrame = RealTime.frameCount;
|
||||
|
||||
|
|
Loading…
Reference in a new issue