SmoothFollow
Class in Zigurous.Animation
Declaration
public sealed class SmoothFollow : MonoBehaviourDescription
Moves toward the position of another transform using a smooth damping function.
Properties
| target | The transform to follow. |
| offset | The local offset position from the target's position that the camera moves toward. |
| space | The coordinate space in which the object moves. |
| constraints | Prevents movement around the specified axes. |
| damping | How quickly the transform moves toward the target's position. Small numbers make the transform more responsive. Larger numbers make the transform respond more slowly. |
| maxSpeed | The maximum amount of units the transform can move per tick. |