View PChicken's post (How to calculate ...) for this comment.

SmileBASIC Community

Hanzo

Spoilers · 12/01/2016 8:40 AM

Like Alex says, angle is returned in radian with his method. If you want to get angle in degree, write "DEG(ATAN(SY#,SX#))" instead of "ATAN(SY#,SX#)". Angle is 0deg when stick is pointing right. The maximum (minimum) angle is +180deg (-180deg) if you turn stick counterclockwise (clockwise) from 0deg position.

Advertisement

You are about to report a post with content which violates the Miiverse Code of Conduct. This report will be sent to Nintendo's Miiverse administrators and not to the creator of the post.

Violation Type:

Edit Comment

Select an action: