LookAt
LookAt(float, Vector3)
Description
Rotate in the direction of the specified position.
Parameters
| Parameter Name | Description |
|---|---|
| angularSpeed | Speed of rotation |
| targetPosition | Target |
LookAt(float, Transform)
Description
Rotates in the direction of the specified Transform.
Parameters
| Parameter Name | Description |
|---|---|
| angularSpeed | Speed of rotation |
| target | Target |