Playmaker Forum

PlayMaker Feedback => Feature Requests => Topic started by: ToxicBlob on February 17, 2012, 08:53:24 PM

Title: AnimCurve as a variable type?
Post by: ToxicBlob on February 17, 2012, 08:53:24 PM
There are GameObjects, Vector3, floats, etc…, but no AnimationCurve variable type.  It would be nice as then I could define a few global AnimationCurve variables - for reactions say, and then all my other objects could use one easily editable curve.

Or is it already there and I’ve somehow missed it?
Title: Re: AnimCurve as a variable type?
Post by: Alex Chouls on February 17, 2012, 09:52:16 PM
Agreed, this would be useful. Will investigate...
Title: Re: AnimCurve as a variable type?
Post by: MS80 on January 25, 2015, 02:49:42 PM
BUMP!  ;D

Any news on AnimationCurve variable?! This would be more than useful...
Every time I use a action with a curve I switch to variables and want to define a curve variable, but it is missing! Just image using it with the sample float action!!

Creating advanced curves for effects (f.e. dissolves, ease in/out, animation etc.) takes some time, unfortunatly there is no way to reuse / export those curves...

Please, please add curve to the variables if its possible!!!

Title: Re: AnimCurve as a variable type?
Post by: balta on July 27, 2015, 11:06:35 AM
Shameless Necro Bump!

My biggest issue is not being able to expose an AnimationCurve in the Control section of the PlayMakerFSM component.
That would save so MUCH work in a lot of situations.
Please make it happen :D
Title: Re: AnimCurve as a variable type?
Post by: szomaza on February 20, 2016, 12:28:59 PM
I got here by searching for something similar. Please make this happen.

What I would actually need is being able to set the 2 coordinates of the Sample Curve during runtime, because I simply use a linear curve to search for float values, but need different angled linears.

I suppose I could do this mathematically too, but I am almost getting a headache trying to figure it out.  :-)

br,
szomaza
Title: Re: AnimCurve as a variable type?
Post by: dudebxl on February 20, 2016, 03:33:13 PM
Maybe a short term solution:
http://hutonggames.com/playmakerforum/index.php?topic=11846.msg55375#msg55375

and you should try this editor script (copy/paste animation curve): http://forum.unity3d.com/threads/copy-and-paste-curves.162557/#post-1277055

And action: get point in curve - on ecosystem

Hope it helps...