Hello everyone!
I want to make my player object (physics object) follow the finger movements of the player in y-axis only but I fail to do so. I constantly see an annoying flick when the player reaches the destination. Also, after re-scaling the object (and its physics body), yVelocity acts in the opposite direction for all values, like negative value makes the object move up at first but after re-scaling, it moves towards the bottom.
Can anyone help me with the code? I’d be grateful for any help provided. It’d be great if code works with Runtime touch listener.
note: I tried to do it without physics the first time but that code isn’t working as needed right now, so I’m not posting it here.
Thank you in advance.