You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/gameobjects/pathfollower/PathFollower.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,7 @@ var Vector2 = require('../../math/Vector2');
23
23
* @property {boolean} [positionOnPath=false] - Whether to position the PathFollower on the Path using its path offset.
24
24
* @property {boolean} [rotateToPath=false] - Should the PathFollower automatically rotate to point in the direction of the Path?
25
25
* @property {number} [rotationOffset=0] - If the PathFollower is rotating to match the Path, this value is added to the rotation value. This allows you to rotate objects to a path but control the angle of the rotation as well.
26
+
* @property {number} [startAt=0] - Current start position of the path follow, between 0 and 1.
26
27
*/
27
28
28
29
/**
@@ -245,6 +246,7 @@ var PathFollower = new Class({
245
246
// Override in case they've been specified in the config
0 commit comments