actor doesnt follow cursor exactly
mbeauman
Member Posts: 4
I have setup a simple actor that drags when mouse is on the actor and button is pressed and then a constrain attribute from self.postion.x to game.Mouse.position.x and then the same for y.
The problem i am having is first it is hard to select the actor, you need to click on the lower half of the actor and secondly when it is dragged it doesnt follow the cursor exactly, ie the further it is dragged the further the actor moves off the cursor.
What am i missing?
Thanks.
The problem i am having is first it is hard to select the actor, you need to click on the lower half of the actor and secondly when it is dragged it doesnt follow the cursor exactly, ie the further it is dragged the further the actor moves off the cursor.
What am i missing?
Thanks.
Comments