The Path this PathFollower is following. It can only follow one Path at a time.
Should the PathFollower automatically rotate to point in the direction of the Path?
Is this PathFollower actively following a Path or not?
To be considered as isFollowing it must be currently moving on a Path, and not paused.
Internal update handler that advances this PathFollower along the path.
Called automatically by the Scene step, should not typically be called directly.
Pauses this PathFollower. It will still continue to render, but it will remain motionless at the point on the Path at which you paused it.
Resumes a previously paused PathFollower.
If the PathFollower was not paused this has no effect.
Set the Path that this PathFollower should follow.
Optionally accepts Phaser.Types.GameObjects.PathFollower.PathConfig settings.
The Path this PathFollower is following. It can only follow one Path at a time.
Optionalconfig: number | PathConfig | NumberTweenBuilderConfigSettings for the PathFollower.
Set whether the PathFollower should automatically rotate to point in the direction of the Path.
Whether the PathFollower should automatically rotate to point in the direction of the Path.
Optionaloffset: numberRotation offset in degrees. Default 0.
Starts this PathFollower following its given Path.
Optionalconfig: number | PathConfig | NumberTweenBuilderConfigThe duration of the follow, or a PathFollower config object. Default {}.
OptionalstartAt: numberOptional start position of the follow, between 0 and 1. Default 0.
Stops this PathFollower from following the path any longer.
This will invoke any 'stop' conditions that may exist on the Path, or for the follower.
Provides methods used for managing a Game Object following a Path. Should be applied as a mixin and not used directly.