Next: Physics Toggle, Previous: Mouse Torque, Up: Motion [Contents][Index]
Object Seeker moves smoothly towards a target. If there is no object to follow, it will attempt to find the Player object by tag.
bool
autoRetargetShould we search for a new target if the current one is lost?
Default value: true
bool
instantIf true, follow speed is ignored and we’re always at the target position
Default value: false
Vector3
offsetShould we offset our target position in world coordinates?
Default value: Vector3.zero
UpdateModes
updateModeChange this if you experience jitter
Default value: UpdateModes.Late
bool
autoRetargetShould we search for a new target if the current one is lost?
Default value: true
bool
instantIf true, follow speed is ignored and we’re always at the target position
Default value: false
Vector3
offsetShould we offset our target position in world coordinates?
Default value: Vector3.zero
UpdateModes
updateModeChange this if you experience jitter
Default value: UpdateModes.Late