mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-09 20:28:07 -05:00
Fix springbone center logic
This commit is contained in:
parent
258cc1925b
commit
e2a2c073c9
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user