minor bug fix
This commit is contained in:
@@ -477,6 +477,7 @@ public class UmaContainer : MonoBehaviour
|
||||
ik.solvers.lookAt.bodyWeight = 0.25f;
|
||||
ik.solvers.lookAt.clampWeightHead = 0.62f;
|
||||
ik.solvers.lookAt.target = TrackTarget.transform;
|
||||
ik.solvers.lookAt.spineWeightCurve = new AnimationCurve(new Keyframe[2] { new Keyframe(0f, 1f), new Keyframe(1f, 0.3f) });
|
||||
IK = ik;
|
||||
|
||||
BipedRagdollCreator.Create(r, options);
|
||||
|
||||
@@ -300,8 +300,8 @@ public class UmaViewerBuilder : MonoBehaviour
|
||||
CurrentUMAContainer.HeadBone = (GameObject)CurrentUMAContainer.Body.GetComponent<AssetHolder>()._assetTable["head"];
|
||||
CurrentUMAContainer.EyeHeight = CurrentUMAContainer.Head.GetComponent<AssetHolder>()._assetTableValue["head_center_offset_y"];
|
||||
CurrentUMAContainer.MergeModel();
|
||||
CurrentUMAContainer.Initialize(!UI.isTPose);
|
||||
CurrentUMAContainer.SetHeight(-1);
|
||||
CurrentUMAContainer.Initialize(!UI.isTPose);
|
||||
if (!UI.isTPose)
|
||||
{
|
||||
LoadAsset(UmaViewerMain.Instance.AbMotions.FirstOrDefault(a => a.Name.EndsWith($"anm_eve_chr{id}_00_idle01_loop")));
|
||||
|
||||
Reference in New Issue
Block a user