How control the animation of a sprite on multiple 3D object instances

0 favourites
  • 2 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Hi, I would like to be able to control the animation of a sprite associated with the face of a 3D object. For example, when I touch a 3d object dice, I want to stop the animation of the sprite of its face but not that of the other instance.I have multiple 3D object instances and I can't seem to pick the animation from the respective sprite. Thanks for your help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If it can help anyone, I just found a solution.

    Create a "num" variable for the 3D object and the sprite. From the layout, for each 3D object, create a sprite and give the same number to the 3D object and the sprite. Associate the sprite to the face of the 3D object.

    Then to control the animation of the sprite, just pick by comparing the variable "num" of the 3D object and the sprite.

    I don't know if this method is optimal.. but it works ^^

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