Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetLookAtClampWeight(float)

Sets the LookAt clamp weight.
Read time 1 minuteLast updated 10 days ago

Definition

public void SetLookAtClampWeight(float weight)

Parameters

weight

The LookAt clamp weight.

Remarks

0.0 means the character is unrestrained in motion. 1.0 means the character is clamped (look at becomes impossible). 0.5 means the character is able to move on half of the possible range (180 degrees).