Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: Red on June 03, 2015, 02:22:38 PM

Title: Convert Deg to Rad/Convert Rad to Deg.
Post by: Red 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.

Pretty simple stuff. If there are any issues, bugs, areas of improvement, be sure to let me know.
Title: Re: Convert Deg to Rad/Convert Rad to Deg.
Post by: mdotstrange on June 03, 2015, 07:01:28 PM
Thank you!  :)
Title: Re: Convert Deg to Rad/Convert Rad to Deg.
Post by: jeanfabre on August 31, 2015, 02:34:14 AM
Hi,

 Thanks for this, I have put them on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181).

ConvertDegreesToRadians (https://github.com/jeanfabre/PlayMakerCustomActions_U3/blob/d3e8d0a7789d34aec254f96670957aa44ba70652/Assets/PlayMaker%20Custom%20Actions/Trigonometry/ConvertDegreesToRadians.cs)

ConvertRadiansToDegrees (https://github.com/jeanfabre/PlayMakerCustomActions_U3/blob/d3e8d0a7789d34aec254f96670957aa44ba70652/Assets/PlayMaker%20Custom%20Actions/Trigonometry/ConvertRadiansToDegrees.cs)

Bye,

 Jean
Title: Re: Convert Deg to Rad/Convert Rad to Deg.
Post by: Artoo 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