more precise height value
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Gallop.Live.Cutt
|
||||
Bones.Add(bone.name, bone);
|
||||
}
|
||||
}
|
||||
HeadHeght = (Bones["Position"].InverseTransformPoint(Bones["Head"].position).y + UmaContainer.EyeHeight) * UmaContainer.BodyScale;
|
||||
HeadHeght = (Bones["Position"].InverseTransformPoint(Bones["Head"].position).y + 0.1f) * UmaContainer.BodyScale;
|
||||
WaistHeght = Bones["Position"].InverseTransformPoint(Bones["Waist"].position).y * UmaContainer.BodyScale;
|
||||
ChestHeght = Bones["Position"].InverseTransformPoint(Bones["Chest"].position).y * UmaContainer.BodyScale;
|
||||
Debug.Log($"InfoChara {UmaContainer.CharaEntry.Name}: {HeadHeght}, {WaistHeght}, {ChestHeght}");
|
||||
|
||||
@@ -686,6 +686,8 @@ namespace Gallop.Live
|
||||
{
|
||||
_liveCurrentTime += Time.deltaTime;
|
||||
|
||||
//Debug.Log(_liveCurrentTime * 60);
|
||||
|
||||
UI.ProgressBar.SetValueWithoutNotify(_liveCurrentTime / totalTime);
|
||||
OnTimelineUpdate(_liveCurrentTime);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user