Destroy and get destroyed
Rataqgames
Member Posts: 7
I have a cannon type game i'm working on , its basically a cannon and two bricks near each other .
I want the ball to destroy and get destroyed if it collides with the brick , but it only destroys the brick and doesn't destroy its self .
Here is the rule
Brick : Rule.overlaps or collides - with - actor of type . ball
Destroy this target
Ball : Rule.Overlaps or collides - with - actor of type . Brick
Destroy this target
I want the ball to destroy and get destroyed if it collides with the brick , but it only destroys the brick and doesn't destroy its self .
Here is the rule
Brick : Rule.overlaps or collides - with - actor of type . ball
Destroy this target
Ball : Rule.Overlaps or collides - with - actor of type . Brick
Destroy this target
Comments
Rule.overlaps or collides -with- actor of type ball
After .1 seconds
Destroy this target
This should leave the brick on-screen long enough to let the ball see it's hit it.
Hope that helps!
QS
Dr. Sam Beckett never returned home...
Twitter: https://twitter.com/Quantum_Sheep
Web: https://quantumsheep.itch.io