constrain & collision with offset help
stackpoole
Melbourne, Victoria, AustraliaMember, PRO Posts: 473
Hi guys,
I've implemented this tut to get me constraining to mouse and having collsions
http://gshelper.com/shop/advanced-game-functions/constrain-to-mouse-and-keep-collision-gamesalad/
How do i keep this functionality (constraints and collide) but with a offset, so for example, i can move an actor wherever the user touches on teh screen, instead of having the user touch the actual actor..
Thanks for your help
Sydney Swans 2014!!
Comments
Since that method is based on the velocity of the mouse movement and not the position try changing the rules condition from when touch is pressed to when touch count is equal to or greater than 1.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS