Actor wont vanish when it comes in contact with another actor
Madison95Martin
Member, PRO Posts: 10
Hi,
Im trying to setup one of my games and what Im trying to do is get my actor to be destroyed when it comes in contact with another actor.
These images show the coding from the arrow and the bars.
I want the arrow to be destroyed when it comes in contact with the bars.
http://gyazo.com/df10d4a5ea19843fe664f3fad483947d
http://gyazo.com/db27f22b7d73dbf63d8c56c83a81ac6e
http://gyazo.com/250fb47633563097d9668890b2f70334
Comments
It looks like your arrow actor is not labeled wall your collision is on your wall to collide with a wall
If you want the Arrow to be destroyed by the bars, take the Rule and Destroy Behaviors out of the bars and add one to the Arrow that says:
You could also add a Tag to the Left and Right-Bar called Enemy (or anything) and update your rule to be:
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Thanks guys! It Worked!