playMaker

Author Topic: Convert Deg to Rad/Convert Rad to Deg.  (Read 1562 times)

Red

  • Hero Member
  • *****
  • Posts: 563
    • View Profile
Convert Deg to Rad/Convert Rad to Deg.
« on: June 03, 2015, 11:22:38 AM »
Two actions that convert between deg to rad or rad to deg.

I figured out that in some cases such as when inputting an angle value using Set Property into the Shuriken "starting rotation" value, it would consider the angle that's being put in there a radian value (I think it was... In either case, Shuriken was mistaking one for the other.) This was put together to address that. Since I was making one, I thought it would be sensible to make the other as well.

How to use either action.
  • Input the values to convert.
  • Done.

Pretty simple stuff. If there are any issues, bugs, areas of improvement, be sure to let me know.

mdotstrange

  • Hero Member
  • *****
  • Posts: 551
    • View Profile
    • Can't code? Who cares! Make games anyway!
Re: Convert Deg to Rad/Convert Rad to Deg.
« Reply #1 on: June 03, 2015, 04:01:28 PM »
Thank you!  :)
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 14342
  • Official Playmaker Support
    • View Profile
Re: Convert Deg to Rad/Convert Rad to Deg.
« Reply #2 on: August 30, 2015, 11:34:14 PM »
Hi,

 Thanks for this, I have put them on the Ecosystem.

ConvertDegreesToRadians

ConvertRadiansToDegrees

Bye,

 Jean