Spawn actor to a certain size

paranoid_androidparanoid_android Member Posts: 22
edited November -1 in Working with GS (Mac)
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

Comments

  • nulonulo Member Posts: 315
    first i gotta say. radiohead!

    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!
  • paranoid_androidparanoid_android Member Posts: 22
    Yes Radiohead. — So in fact there will be three instances of the one actor. I can live with that. Explained very well, thanks.
  • nulonulo Member Posts: 315
    in your actor list it will only be 1 actor. they will have different values for the same attribute when placed in the scene.
Sign In or Register to comment.