Documentation

Unity Engine


Unity Engine


SetLookAtBodyWeight(float)

Sets the LookAt body weight.
Read time 1 minuteLast updated a month ago

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.