How to make actor destroy another actor when it collides with it from the side
fatetaleteller
Member, PRO Posts: 40
Greetings!
I am at the moment working on a game where assassin must kill guards. Guards move in particular area from left to right and when assassin collides with them from front assassin should die and when it collides with them from behind guards should die but i have no idea how to do this and i hope someone can help me. Thanks!
Comments
This video isn't exactly what you're after but it might be helpful.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
just throwin' ideas out there.
you could constrain two actors - one on the front and one from behind the assassin. If player collides with either of those two constrained actors, death.