playMaker

Author Topic: Mathf.LerpAngle Action  (Read 2626 times)

grahamH

  • Playmaker Newbie
  • *
  • Posts: 10
Mathf.LerpAngle Action
« 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.

grahamH

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Mathf.LerpAngle Action
« Reply #1 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

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: Mathf.LerpAngle Action
« Reply #2 on: April 05, 2016, 11:43:29 AM »
Hi,
you can share in it Share New Actions

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