Hi,
I want to animate a box so that when I click it, it shrinks and lastly disappears. I later want to be able to reset the boxes original position.
I got the mouse-picking down, but how would I make the shrinking/disappearing work?
I've tried using a SpatialTransformer, but after the shrinking part I'd like to teleport the box away, reset it's size and have it be affected by regular physics again.
I'm quite lost here
can you not simply detach / re-attach it from the scenegraph ?
Core-Dump said:
can you not simply detach / re-attach it from the scenegraph ?
I think I could but how to make this happen after the animation's finished?
Check somehow if the spatialTransformer is finished, or trigger somehow an event when he finishes.
I dont know of a out-of-the-box way to do it.