A one by one spawning actor - which each one need to move different direction!

cibramcibram Member Posts: 7
edited June 2012 in Working with GS (Mac)
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.


Best Answer

  • ORBZORBZ Posts: 1,304
    Accepted Answer
    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.
Sign In or Register to comment.