Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Spiffy664 on November 13, 2012, 09:02:24 PM

Title: spawn object from current location of another object then translate.
Post by: Spiffy664 on November 13, 2012, 09:02:24 PM
Hello again,

I am having difficulty trying to figure out how to make a Sprite spawn, and then move forward - away from, another sprite (a projectile, essentially)

Currently the sprite follows around my finger. I would like this sprite to continuously spam projectiles for now.

Thanks for any ideas!
Title: Re: spawn object from current location of another object then translate.
Post by: jeanfabre on November 14, 2012, 01:16:05 AM
Hi,

 If your projectile if following your finger when you spawn it, Is it because it is a child of the gameObject you touch and drag? or is it because you have  a script that also follow touches?

 Basically, when you spawn a projectile, you should have it using "translate" for your purpose, where "Space" is set to "Self" and translate it using x or z axis depending on the the shape of the projectile really.

Have you tried that already?

bye,

 Jean