Need help urgent! Spawn actors in direction of actor with tag...
caiokawasaki
Member Posts: 68
To understand my problem, play my game:
Here u can see the game i'm developing: http://arcade.gamesalad.com/g/109754
If you play the game, when you put the starship into the magnet field of the planet, the planet spawn a lot of resources in the direction of your starship.
But, if you make 26 resources or more, you can click in the button in the bottom right to spawn a colector it will collect the resources in the magnet field, but the question is, how to make the colector attract the resources?
The collector and the starship have a tag called Nav.
If the starship and the collector be into the magnet field at the same time, can i do both receive the resources?
Thanks... waiting...
Here u can see the game i'm developing: http://arcade.gamesalad.com/g/109754
If you play the game, when you put the starship into the magnet field of the planet, the planet spawn a lot of resources in the direction of your starship.
But, if you make 26 resources or more, you can click in the button in the bottom right to spawn a colector it will collect the resources in the magnet field, but the question is, how to make the colector attract the resources?
The collector and the starship have a tag called Nav.
If the starship and the collector be into the magnet field at the same time, can i do both receive the resources?
Thanks... waiting...
Comments
when the starship collide with any magnet field the magnet field spawn a resource every 1/2 second...
the resouces are constrained to the starship, so it will spawn in the planet then start to follow the starship...
I need to do the resourcers follow the colector too...
The resources need to follow both, the starship and the colector...
(the planet and the magnet field are two separated actors)