Swinging Pendulum

Started by supermystery, April 21, 2009, 10:15:39 PM

Previous topic - Next topic

MikeDaBike

Ok, for the turning issue you got to make the x-binding dependent on the chars facing:
pos = 100*sin(Time*Pi/200)*root,facing,100*abs(cos(Time*Pi/200))

To make the ball and chain almost the same movement you got to tweak the values. I would recommend to let your ball anim just consist of the clsn1 box, and then tweak the binding to make it follow the ball and chain anim as good as possible.
Latest Creation: SSBB Assist Trophies

supermystery

Works very well  :), i decided not to bother with the angeldraw method with the chain and i just created more helpers (the 4 small hoops) that bind in the same way as the ball



The one thing that i noticed though is sometimes when the ball reaches its highest point it flickers a bit from to side before it gets in position again, this only happens when robotnik is turning though.

MikeDaBike

Quote from: supermystery on April 26, 2009, 07:55:43 PMThe one thing that i noticed though is sometimes when the ball reaches its highest point it flickers a bit from to side before it gets in position again, this only happens when robotnik is turning though.

Hmm when I tested this nothing like that ever happened. Does this maybe happen when you hit the opponent? Ignorehitpause=1 may help then.
Otherwise you got to go more into detail what happens and when.
Latest Creation: SSBB Assist Trophies

supermystery

hitpauses have no effect, it happens randomly when the character turns, instead of going back the way it came by going back down again, it just instantly goes to the position without following itself back to that spot. Hard to explain im afraid, its not too noticable its just kinda wierd when it does happen.

Ill give you the link, to see what i mean. the helpers that swing are in Attack.cns

states are 1050 and 1051