mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-09-08 20:08:53 -05:00
ロジックバグ。normalize 必用ぽい
This commit is contained in:
@@ -156,7 +156,7 @@ namespace UniVRM10.FastSpringBones.System
|
||||
BlittableLogic logic,
|
||||
ref Vector3 nextTail)
|
||||
{
|
||||
var P = worldTail - worldPosition;
|
||||
var P = (worldTail - worldPosition).normalized;
|
||||
var Q = headTransform.position - worldPosition;
|
||||
var dot = Vector3.Dot(P, Q);
|
||||
if (dot <= 0)
|
||||
|
||||
Reference in New Issue
Block a user