Question by
Meet_Sevak · Nov 08, 2019 at 03:23 AM ·
androiddragtouch controls
How to move a gameobject from exactly where it was touch
I have an oval object, my game is for android devices. whenever I touch the oval object to drag it some another place, it moves from the centre of the oval in the game.
The problem arises when I touch the topmost (head) of my object and it lifts a little bit upwards and touches the enemy, and BOOM the player is out. Is there a way, where I touch the head and it only moves from the head and if I touch the tail in the same, it moves from the tail only. //m new to unity so please help me out :) //thanks in advance
Comment