Skip to content

Commit 14faabc

Browse files
committed
Updated docs
1 parent 64b3e83 commit 14faabc

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/gameobjects/components/Transform.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,9 @@ var Transform = {
195195

196196
/**
197197
* The angle of this Game Object as expressed in degrees.
198-
*
199-
* Where 0 is to the right, 90 is down, 180 is left.
198+
*
199+
* Phaser uses a right-hand clockwise rotation system, where 0 is right, 90 is down, 180/-180 is left
200+
* and -90 is up.
200201
*
201202
* If you prefer to work in radians, see the `rotation` property instead.
202203
*
@@ -221,6 +222,9 @@ var Transform = {
221222

222223
/**
223224
* The angle of this Game Object in radians.
225+
*
226+
* Phaser uses a right-hand clockwise rotation system, where 0 is right, 90 is down, 180/-180 is left
227+
* and -90 is up.
224228
*
225229
* If you prefer to work in degrees, see the `angle` property instead.
226230
*

0 commit comments

Comments
 (0)