playMaker

Author Topic: Ease OutIn? (instead of InOut)  (Read 3068 times)

markinjapan

  • Full Member
  • ***
  • Posts: 103
Ease OutIn? (instead of InOut)
« on: May 03, 2013, 04:39:41 PM »
Hi,

I'm trying to simulate a ball moving along a trajectory by using a spline in the shape of an arc and the itween move to v2 action. Problem is I can't get the right movement.

I want the ball to move quickly, then slow, then speed up again as it falls towards the ground. EaseInOut does exactly the opposite so I'm guessing I need OutIn?

Is there something obvious that I'm missing to be able to flip it?

Thanks for any help

Mark

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Ease OutIn? (instead of InOut)
« Reply #1 on: May 03, 2013, 06:30:50 PM »
I believe Ease "InOut" just means it eases both ends of the tween.

Am I mistaken?
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

markinjapan

  • Full Member
  • ***
  • Posts: 103
Re: Ease OutIn? (instead of InOut)
« Reply #2 on: May 04, 2013, 05:26:30 AM »
Hi,

You are right but InOut eases slow to fast to slow, whereas I need fast to slow to fast.

I'm investigating a couple of methods on how to do this. One is by sampling the y component of a sample curve, the other is by using Spline Editor which does have this easing type. It's not supported by Playmaker but I hope I can use by using Get/Set Property actions.

Mark

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Ease OutIn? (instead of InOut)
« Reply #3 on: May 09, 2013, 06:10:52 AM »
Hi,

 You could create your own animation curve and sample it, make the curve range from 0 to 1 on both axis to be able to reuse that curve.

bye,

 Jean