IKLookAround
Inherits from IKLookBehavior
Declaration
public sealed class IKLookAround : IKLookBehaviorDescription
Handles setting the IK position to look around in the camera direction.
Properties
| lookTransform | The transform that represents the direction to look around. If not set Camera.main will be assigned automatically. |
| lookAtPosition | The point the character is looking at. |
| weight | The weight of the look at position (0=none, 1=full). |
| maxLookAngle | The maximum angle the character can turn their head to look around. |
| weightDamping | How quickly the look at weight changes. Smaller values change the weight more quickly. |
| positionDamping | How quickly the look at position changes. Smaller values change the position more quickly. |
Methods
| Start | A Unity lifecycle method called the first frame the behavior is enabled. |
| UpdateIK | Updates the IK solution. |
Inherited
Properties
| head | The transform of the head bone. |
| animator | The animator component the IK solution is applied to. |