How do I animate a melee attack in 3d?

0 favourites
  • 2 posts
From the Asset Store
Zombie attack is a survival game, where you have 2 types of games: Killer and survival.
  • 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

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)