mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-08-14 06:15:49 -05:00
Fix springbone center logic
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user