• 2D
  • How can I do a Jello-wiggle effect on collision?

When my object gets hit I want it to sort of wiggle a little and then come to rest. I was hoping to use tweens, and I got a tween moving from one position to another with the appropriate bounces but I don't want it moving from one position to another. I want it moving from its original position out, and back.

It feels like I have to queue up Tweens to make this happen.

I guess it could be done with shaders but that's a bit beyond me at the moment.

How would you do it?

I think you'd have to do it with an animation somehow.

I ended up using 2 tweens in sequence. Works pretty well!