Zelda-Like Game Shooting Problem
7Stride
Member Posts: 2
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
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.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
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.