Docs: radian values for Transform#rotation

This commit is contained in:
samme 2020-02-27 10:15:44 -08:00
parent 677cfae424
commit a84f7efb45

View file

@ -225,8 +225,8 @@ var Transform = {
/**
* The angle of this Game Object in radians.
*
* Phaser uses a right-hand clockwise rotation system, where 0 is right, 90 is down, 180/-180 is left
* and -90 is up.
* Phaser uses a right-hand clockwise rotation system, where 0 is right, PI/4 is down, +-PI/2 is left
* and -PI/4 is up.
*
* If you prefer to work in degrees, see the `angle` property instead.
*