Gideros has roots from Flash (that's why Gideros deals with degrees). I think it's a matter of taste. I find degrees more human friendly/readable. Some other good game engines (like Cocos2d) also use degrees too.
@all, I agree that consistency is good but then so is consistency between releases.
I'd rather not have a load of code break in the next release just because of a fix for this.
Anyway, if you ask me which way 135 deg points, I can tell you. 2.355 radians not so easy. :-S If you really want to break it at this stage then do it by standardizing on degrees.
Agree with those that want Degrees, as @bowerandy said, 62 degrees is easier to understand than some obscure radian number, plus visualising it is also easy.
BTW, there is also some inconsistency on the use of Degrees, some start with 0 degrees at 12 O' clock while some others start 0 degrees at 3' O clock.
Actually I think the only place that uses radians is box2d. And it is quite easy to convert between them using math.deg and math.rad methods. And BTW I think that in GiderosCodingEasy this problem should be solved, because you could control box2d body by controlling your sprite, meaning, simple using setRotation with degree angle on your sprite
Comments
I know what you mean, I also get confused myself, because box2d on the other hand uses radians
Consistency, consistency, consistency
But I like degrees much better, lets standardize everything to degrees
Likes: jack0088
YES i like degrees too but radians are standard for Lua and C/C++ ...
:-B
www.tntengine.com
I'd rather not have a load of code break in the next release just because of a fix for this.
Anyway, if you ask me which way 135 deg points, I can tell you. 2.355 radians not so easy. :-S If you really want to break it at this stage then do it by standardizing on degrees.
best regards
Likes: techdojo
I fully agree.
www.tntengine.com
BTW, there is also some inconsistency on the use of Degrees, some start with 0 degrees at 12 O' clock while some others start 0 degrees at 3' O clock.
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
And BTW I think that in GiderosCodingEasy this problem should be solved, because you could control box2d body by controlling your sprite, meaning, simple using setRotation with degree angle on your sprite
Likes: atilim