I have a player that is a physic object, my idea is to move it dragging it since any point of the screen with touch event and keeping the distance fixed. I have tried several objects and joint s type but i can’t solve the issue.
I have tried with a player=dynamic and creating an static object in the touch event.x event.y, but setting player.gravityScale=0 make the joint not to work. Same setting the gravity to 0 in the scene.
I want a simply thing but I dont see the way. Two static doesn’t work, kynematic unuseful.
I want one object(created with touch event) move to other object keeping the distance.
Does anyone know what types of bodies shoud them be?
I dont want to drag the own player object directly because I dont want the finger hide the player