Merge pull request #1546 from notargs/feature/fix_springbone_bug

VRM1.0でSpringBone.centerが正常に動いていないバグを修正
This commit is contained in:
ousttrue 2022-02-21 20:43:42 +09:00 committed by GitHub
commit 14367b9846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,8 +91,8 @@ namespace UniVRM10.FastSpringBones.System
}
logic.prevTail = centerTransform.HasValue
? centerTransform.Value.worldToLocalMatrix.MultiplyPoint3x4(logic.currentTail)
: logic.currentTail;
? centerTransform.Value.worldToLocalMatrix.MultiplyPoint3x4(currentTail)
: currentTail;
logic.currentTail = centerTransform.HasValue
? centerTransform.Value.worldToLocalMatrix.MultiplyPoint3x4(nextTail)
: nextTail;