FollowObject

Description

Can be used to make an object follow another object's rotation and position. Optionally you can set a positional offset of the follower object. There is also an option to set up a line renderer which will be drawn from the follower object to the object that is being followed, the starting point of the curve can also be offset. This script can be constantly updated or tick only once. If the update is constant, the object will follow its rotation/position parent the whole time. If the update is not constant, the object will stay at the place where the parent was at (plus offset) in the moment it was enabled.

Last updated