Multiple Problems

mdoetsch97mdoetsch97 Member Posts: 2

First, I was wondering how to make an actor rotate equally with another actor while only pressing one key.
Second, I want to fire a bullet in the direction I am facing but can only get it to shoot upward no matter where I am facing.
If you can help it would be greatly appreciated, Thanks.

Comments

  • zweg25zweg25 Member Posts: 738
    1. Look at @Socks link machine.
    2. Spawn the bullet in the direction relative to the actor and have the bullet move in the direction relative to the actor
  • mdoetsch97mdoetsch97 Member Posts: 2

    Thanks @zweg25 it worked. One more question, how do i make my bullet go just by pressing a key once. Currently, I must hold in the key for the bullet to travel and if I release the key, the bullet comes to a complete stop.

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

    In the bullet actor, do not put the Move (or similar) behavior inside of a rule. That will make the bullet move on its own without any input. The key should just be to spawn the bullet from whatever actor you're using for that.

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

Sign In or Register to comment.