文档

Unity Engine

Unity Engine

SetLookAtBodyWeight(float)

Sets the LookAt body weight.
阅读时间1 分钟最后更新于 1 个月前

Definition

public void SetLookAtBodyWeight(float weight)

Parameters

weight

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.