Anyone know how to stop "touch press" actors from moving through solid objects?
![zane1](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
I keep having the same problem with my actors, using touch when pressed movement controls.
When they are touched, to move/drag around, the actors can simply "float" through any solid objects they should bounce off of.
When they are not pressed, you can't push them through the objects (like with another actor) but as soon as they are touch/pressed, "solid" rules no longer apply!
can anyone tell me how to fix this so even when dragging actors with touch they can't move through solid objects?
thanks!
When they are touched, to move/drag around, the actors can simply "float" through any solid objects they should bounce off of.
When they are not pressed, you can't push them through the objects (like with another actor) but as soon as they are touch/pressed, "solid" rules no longer apply!
can anyone tell me how to fix this so even when dragging actors with touch they can't move through solid objects?
thanks!
Comments
this is good to know and will come in handy (for things like drag/drop/snap techniques)
but not exactly what I need. I still want to be able to move the actor around with touch and be able to run into solid walls, like if you were guiding an actor through a maze from an overhead view, you would drag the actor back and forth in every direction but you'd have to have solid walls to actually make the maze plausible, you know what I mean?
thats what I need to do, if there is a way?
thanks!
awesome! this is exactly what i was looking for.
tweeked: lowered restitution on all objects to 0, no more bounce, just smooooooth glide. Also replace acclerate towards with move to, changes all the "mouse" instances to "touch", works great! thank you!
side question, when i place mulitple actors in the scene and the collide with each other the mag makes the one bumped fly off the screen! do you know how I can have the one's that are not being press touched to stay still untill they are?
thanks!