Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetLookAtBodyWeight(float)

Sets the LookAt body weight.
Read time 1 minuteLast updated 13 days 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.