Zelda-Like Game Shooting Problem

I have a actor with basic move behaviors, and animations. My problem is when I try to add a spawn actor for a bow/arrow shooting, it always come the same direction, no matter where the actor is facing. Is there a way to make move and shoot in the same direction? I have tried using the rotate behavior, but it cannot be used like this, in the ways that I have tried. Thanks for your help.
-7Stide

Comments

  • ArmellineArmelline Member, PRO Posts: 5,363

    There are many ways you could go about this, but probably the easiest and most future-proof would be to have a game attribute that is constrained (either manually or with a constrain behaviour) to the direction the player is facing and to put a rule in your arrow having it move in that direction upon spawning.

  • 7Stride7Stride Member Posts: 2

    @Armelline said:
    There are many ways you could go about this, but probably the easiest and most future-proof would be to have a game attribute that is constrained (either manually or with a constrain behaviour) to the direction the player is facing and to put a rule in your arrow having it move in that direction upon spawning.

    I haven't been using Gamesalad very long, so what attribute type would I use. Also I do not know what to put in the "To:" box in the constrain attribute to make it tell which way my character is facing, so if you could explain a bit further that would be great.

Sign In or Register to comment.