playMaker

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

Red

  • Hero Member
  • *****
  • Posts: 563
Convert Deg to Rad/Convert Rad to Deg.
« on: June 03, 2015, 02:22:38 PM »
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: 555
    • Can't code? Who cares! Make games anyway!
Re: Convert Deg to Rad/Convert Rad to Deg.
« Reply #1 on: June 03, 2015, 07: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: 15500
  • Official Playmaker Support
Re: Convert Deg to Rad/Convert Rad to Deg.
« Reply #2 on: August 31, 2015, 02:34:14 AM »
Hi,

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

ConvertDegreesToRadians

ConvertRadiansToDegrees

Bye,

 Jean

Artoo

  • Playmaker Newbie
  • *
  • Posts: 46
Re: Convert Deg to Rad/Convert Rad to Deg.
« Reply #3 on: December 03, 2021, 06:23:18 AM »
I downloaded these from the EcoSystem, but they don´t show up in Action Browser.
Any ideas why?  :(

EDIT: Ok now they showed up, I had to remove and get them again a couple times. Don´t know why that fixed it lol. Also updated to latest PlayMaker version
« Last Edit: December 03, 2021, 06:31:41 AM by Artoo »