MCPcopy Index your code
hub / github.com/phaserjs/phaser / setRotateToPath

Method setRotateToPath

types/phaser.d.ts:19685–19685  ·  view source on GitHub ↗

* Set whether the PathFollower should automatically rotate to point in the direction of the Path. * @param value Whether the PathFollower should automatically rotate to point in the direction of the Path. * @param offset Rotation offset in degrees. Default 0.

(value: boolean, offset?: number)

Source from the content-addressed store, hash-verified

19683 * @returns This Game Object.
19684 */
19685 setRotateToPath(value: boolean, offset?: number): this;
19686 /**
19687 * Is this PathFollower actively following a Path or not?
19688 *

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected