Same actor respawned in scene but different attributes
breuban
Member Posts: 13
Hi all, i dont quite know how to explain my problem, but let me try.
I have an actor (ball) that is spawned and drops to the ground. When it drops to the ground, the attribute of the ball changes. When i touch the screen, the same actor has to be respawned. When it hits the ground, the attribute changes but it also changes the attribute of the initial ball.
Basically, ball A spawns and hits the ground and size increases when it hits the ground. Ball B (same actor) spawns and when it hits the ground its size increases but Ball A's size also increases again.
How do i go about making only the instance of the actor change its attribute on collision with the ground? There is no instance tab because the ball is not initally on the scene but is spawned on an action.
Thanks
I have an actor (ball) that is spawned and drops to the ground. When it drops to the ground, the attribute of the ball changes. When i touch the screen, the same actor has to be respawned. When it hits the ground, the attribute changes but it also changes the attribute of the initial ball.
Basically, ball A spawns and hits the ground and size increases when it hits the ground. Ball B (same actor) spawns and when it hits the ground its size increases but Ball A's size also increases again.
How do i go about making only the instance of the actor change its attribute on collision with the ground? There is no instance tab because the ball is not initally on the scene but is spawned on an action.
Thanks
Comments
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
In my demo, when a ball drops, it enlarges upon collision with the ground. Let's call those balls "new spawns." Any balls that fall after that will enlarge and also cause any "grounded" balls to enlarge. When we spawn a ball, it's always a new spawn. Are you saying you want "grounded" balls to NOT increase in size when other balls collide with the ground?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User