How not to overlap an actor with another?
fruitjuiceproductions.mb
Member Posts: 24
Hi,
Just wondering how can i drag an actor during the game play, to the scene, without overlaping with another existing actor.
In the game, there are existing actors in different places, and a ball that has to arrive to the finish area.
You can drag and move the play changer actors but i dont want them to overlap with the existing walls.
So, the only thing that i need is to turn off overlap, any ideas?
Thanks!!!
Comments
I think you can use a collision.
Actor 1 collides with actor 2 and does not overlap
Hi @UltraLionBlu
but, my question is: How can i create a rule to set off overlap?
you mean like it starts in a menu, and until it’s dragged into position/dropped, there are no collisions?
I'm not 100% sure this is what you're looking for, but in the demo attached you can drag the little square around and will collide with and NOT pass through the large square. Hope it helps.
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page
Wow @jamie_c that's exactly what i'm looking for! thank you so much! i really appreciate it.
thanks for your answers!
You're welcome, I'm glad it's what you were looking for. :)
http://jamie-cross.net/posts/ ✮ Udemy: Introduction to Mobile Games Development ✮ Learn Mobile Game Development in One Day Using Gamesalad ✮ My Patreon Page