Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.PathFollower
rotateToPath: boolean
Description:
Should the PathFollower automatically rotate to point in the direction of the Path?
Type:
boolean
Default:
false
Inherited from:
Phaser.GameObjects.Components.PathFollower#rotateToPath
Since:
3.0.0
Source:
src/gameobjects/components/PathFollower.js
(Line
32
)
Possible examples