Spawned Actor Movement not correct

I tried searching, but maybe I am not sure what I am searching for... I have a top down game in a room. The hero is throwing a weapon at the enemy. The hero's movement velocity changes with the arrow keys. When the weapon spawns in front of the hero it goes the direction that the hero is moving, however if the weapon is moving and you move the hero in another direction, the weapon changes direction to follow the hero. How can I get the weapon thrown to stay in the same direction and not move with the actor?

Comments

  • SocksSocks London, UK.Member Posts: 12,822

    The issue is almost certainly caused by the weapon actor's rules.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    How are you moving the weapon actor? Specifically, are you using an attribute for the direction field of the Move/MoveTo behavior (what behavior are you using?)? What does the rule look like for the weapon actor's movement behavior(s)?

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.