Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: grahamH on April 04, 2016, 02:44:37 PM

Title: Mathf.LerpAngle Action
Post by: grahamH on April 04, 2016, 02:44:37 PM
Any chance of having Unity's Mathf.LerpAngle converted to an action?


Description (from Unity)

Same as Lerp but makes sure the values interpolate correctly when they wrap around 360 degrees.

The parameter t is clamped to the range [0, 1]. Variables a and b are assumed to be in degrees.
Title: Re: Mathf.LerpAngle Action
Post by: grahamH on April 05, 2016, 08:38:12 AM
Thought I'd have a proper stab at doing this myself.

Got a working example if anyone's interested.

Not sure about how to submit it to custom actions - will read up on that
Title: Re: Mathf.LerpAngle Action
Post by: djaydino on April 05, 2016, 11:43:29 AM
Hi,
you can share in it Share New Actions (http://hutonggames.com/playmakerforum/index.php?board=19.0)

If you are planning to make more actions jean can explain you what you need to do.