got a problem, i can go into 3d mode, run around. i can spawn a 3d object in front of player (meele attack). set its side to a sprite, it plays the animation. super
but i want the block to disappear after.
there isn't a ^when animation ends^ trigger for a 3d block.. i put in a wait on created then destroy.
but the animation no longer plays
i could ignore it as its invisible..... surely that will clutter performance?
any advice? thanks all
That honestly sounds like a waste of memory.
A better solution would be to always have that one 3D object as a collision box in front of you, always set to invisible. Then you'd have a separate animation skin on top of it.
On (press of a button) - set 3D-Object collisions enabled
- Animation-Sprite play animation
On Animation-Sprite is finished - set 3D-Object collisions disabled