setting up touch to snap to location touched on actor
Adventuregoat
Member Posts: 10
Hi all,
I can't find it, but I remember seeing a tutorial that showed how to get an actor to drag from the location it was touched, as apposed to snapping to the actor's center point. For example, if I have a draggable actor that is a box and I touch the top right corner, I could drag him from that corner without him just snapping to his center.
Actually, it would be great if there was a way to temporarily move the actors center point to the location touched.
Any tips or links to info would be greatly appreciated!
Thanks!
I can't find it, but I remember seeing a tutorial that showed how to get an actor to drag from the location it was touched, as apposed to snapping to the actor's center point. For example, if I have a draggable actor that is a box and I touch the top right corner, I could drag him from that corner without him just snapping to his center.
Actually, it would be great if there was a way to temporarily move the actors center point to the location touched.
Any tips or links to info would be greatly appreciated!
Thanks!
Answers