A one by one spawning actor - which each one need to move different direction!
![cibram](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hey guys,
I have a spawn point which is spawning the "Demon" actor every 1 second.
And i have an attribute which gives a Direction (angle)
But this direction is always changing (It has a formula)
Question is : I want the demon move to the direction, to the angle comes from the attribute whenever it spawned.
How can i do this? I gave the demon the ability to take the direction from the attribute but it is changing it's direction because of the formula changing every second, but i want him do not change it's direction and move strictly to there and every demon spawned will take their angles and move there.
I have a spawn point which is spawning the "Demon" actor every 1 second.
And i have an attribute which gives a Direction (angle)
But this direction is always changing (It has a formula)
Question is : I want the demon move to the direction, to the angle comes from the attribute whenever it spawned.
How can i do this? I gave the demon the ability to take the direction from the attribute but it is changing it's direction because of the formula changing every second, but i want him do not change it's direction and move strictly to there and every demon spawned will take their angles and move there.
Best Answer
-
ORBZ Posts: 1,304
it sounds like you need to use Change Attribute to copy the global spawn angle into a local attribute on the demon actor, then have your demon actor do it's computation based on it's local attribute.