Playmaker Forum
PlayMaker Updates & Downloads => Share New Actions => Topic started by: DanielThomas on April 16, 2018, 05:36:29 PM
-
Action for this:
https://docs.unity3d.com/ScriptReference/Mathf.DeltaAngle.html
Calculates the shortest difference between two given angles given in degrees.
-
Hi,
Thanks for your contribution, but always check on the Ecosystem first, this action already exists :) !
https://github.com/jeanfabre/PlayMakerCustomActions_U4/blob/master/Assets/PlayMaker%20Custom%20Actions/Trigonometry/GetDeltaAngle.cs
to check, simply type the api you want, for example in this case Mathf.DeltaAngle
(https://i.imgur.com/WE9Pemw.png)
Bye,
Jean
-
I did ofcourse check ecosystem, it's the first thing I do. But this action you mention doesn't work/do what mine does, mine works exactly like the Unity one. The one from the ecosystem uses objects and x-direction and didn't do what I needed.
-
Hi,
I see, yeah, cool!
Bye,
Jean