GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Shoot out of tip

orseoste7oorseoste7o Posts: 1Member
edited December 2011 in Working with GS (Mac)
Hey everybody.
How would i go about making a gun to shoot a bullet out of the tip of the gun, instead of just the bullet being created in the middle of the gun?
(Keep in mind that the gun rotates)

Any replies would be greatly appreciated :)

Comments

  • idk if this is true but i think there is a point thingy tht lets u put where it spawns from where u set it but I might be thinking of something else
  • SlickZeroSlickZero Houston, TexasPosts: 2,870Member, Sous Chef
    You need to use the offsets in the spawn actor behavior, if you are using "spawn actor" that is. Otherwise, you need to use the offsets in the position when using a "change attribute" behavior, if you are using the recycle method.

    I have no friends. I'm a loser that makes video games all day. Will you be my friend?

  • LeonardDeveloperLeonardDeveloper Posts: 4,630Member
    edited December 2011
    Ive got a tutorial on this! :)
    You can download my demo template at
    http://thermo-apps.com/gamesalad/lasershoot-in-gs/
    Tell me what you think of it! :)

    ---------------
    Posted by LeonardDeveloper, contact me on [email protected]
    Be sure to visit my WEBSITE
    Have a look at my GS Tutorials

    ----------------------------------------------------
    Yours Sincerely,
    Jack Leonard
This discussion has been closed.