SetLookAtBodyWeight(float)
Sets the LookAt body weight.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.Animations
- Assembly: UnityEngine.AnimationModule
public void SetLookAtBodyWeight(float weight)
Parameters
The LookAt body weight.
Remarks
Determines how much the body is involved in the LookAt. Rotates the body transform so the forward vector points at LookAt position.
Additional Resources: AnimationHumanStream.SolveIK, AnimationHumanStream.SetLookAtPosition.