Spawn actor to a certain size
paranoid_android
Member Posts: 22
I have an actor that once it is tapped, a spawn effect happens.
Say I have three instances of that actor positioned and scaled, to give the effect of depth. I would like the spawned animation to also be scaled.
Can this be done, with just the two actors (main and spawn effect)
NOTE: You might suggest that I make it just a single actor, which is possible but that make the actor too big on stage with large touchable area. Which I am also investigating. @PA
Say I have three instances of that actor positioned and scaled, to give the effect of depth. I would like the spawned animation to also be scaled.
Can this be done, with just the two actors (main and spawn effect)
NOTE: You might suggest that I make it just a single actor, which is possible but that make the actor too big on stage with large touchable area. Which I am also investigating. @PA
Comments
if I understand it right, you want the same actor, to be placed on the scene, to be scaled there to different sizes and when they all spawn this same "actor2" each of these spawns obey the relationship of size created with the original "3" actors!?
but instead of using 6 different actors(3 actors and 3 spawns), you want to do it with only 2 (one actor and one spawn).
i would try creating a attribute in each of the 3 placed actors on the scene. name it "size"
then edit it that each has a different number, for example 1,2,3
now on the spawn rule you have the option to choose the position of the spawn, and the direction of the spawn. set the direction to a expression, and use the attribute "size" (1,2,3) to set the direction.
this way, each spawned actor will have a slight different rotate value (1,2,3).
now on the spawned actor, create a rule
if angle = 1
change size to x1
if angle = 2
change size to x2
if angle = 3
change size to x3
hope i made myself clear enough!