playMaker

Author Topic: AnimCurve as a variable type?  (Read 4980 times)

ToxicBlob

  • 1.2 Beta
  • Playmaker Newbie
  • *
  • Posts: 7
AnimCurve as a variable type?
« 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?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3987
  • Official Playmaker Support
    • LinkedIn
Re: AnimCurve as a variable type?
« Reply #1 on: February 17, 2012, 09:52:16 PM »
Agreed, this would be useful. Will investigate...

MS80

  • Junior Playmaker
  • **
  • Posts: 64
Re: AnimCurve as a variable type?
« Reply #2 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!!!

« Last Edit: January 25, 2015, 04:21:35 PM by MS80 »

balta

  • Playmaker Newbie
  • *
  • Posts: 1
Re: AnimCurve as a variable type?
« Reply #3 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

szomaza

  • Sr. Member
  • ****
  • Posts: 253
Re: AnimCurve as a variable type?
« Reply #4 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

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: AnimCurve as a variable type?
« Reply #5 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...
« Last Edit: February 22, 2016, 09:53:53 AM by dudebxl »