YesNoOk
avatar

some questions (Read 604 times)

Started by sgn15, July 16, 2011, 07:06:28 am
Share this topic:
Re: some questions
#21  August 14, 2011, 07:42:58 am
  • ****
  • Target Acquired.
    • Ukraine
    • mugencoder.com
kenshinx0, did you meant it like this?

[State 0, AngleDraw]
type = AngleDraw
trigger1 = parent,time = [106,145]
;animelemtime(22) >= 0
;value = 0
scale = time/30, time/30
persistent = 1

[State 0, AngleDraw]
type = AngleDraw
trigger1 = parent,time = [146,195]
;animelemtime(22) >= 50
;value = 0
scale = 1,1
persistent = 1

[State 0, AngleDraw]
type = AngleDraw
trigger1 = parent,time = [196,245]
;animelemtime(22) >= 90
;value = 0
scale = 1 + cos(time*1.5)*1, 1 + cos(time*1.5)*1
;30/time,30/time
persistent = 1

i tried many values for both a and b, the effect is the same (its like "wobbling or heatbeat effect" by increasing and decreasing continuously until it destroyself)

i think cosine is not for this?

p.s.
i like math but not really these angle stuff in math
so i tried using sine and tangent instead of cosine but same formula
i think tangent is more appropriate for decreasing
but i still havent made it to work perfectly to my choice, im still testing using several values for a and b

and i notice the increasing angledraw doesnt work or is too fast, i might change the scale formula there too
so for increasing angledraw, i just inverse the decreasing formula? by inverse i meant raising to exponent -1 (or 1 over the whole formula)
Well in order to work with cosine properly, you need to stop triggering right when the curve gets to the bottom or lowest point on the curve. But, since this is confusing for you, let's use Cyanide's variable method.

-[Все слова это только слова.]-