- Home /
Making ball move on drag
Hello. I have this weird question, that I have no idea how to do... Basically, I want to in Unity3D to drag the ball with a mouse or touch on phone. It's hard to explain, but if the ball is at some point, it doesn't matter where on screen I start dragging, but the ball will continue it's was from where it was with the force that I drag with my finger or mouse. Hope you understand and that you are able to help me because I have no bloody idea where or how to start. One game example for that is ColorBump and ColorBump3D. I'd like to get a similar effect.
Thanks for further help.
Not the answer you're looking for but id start reading up on raycasts and hits, it may be easier to have the ball move towards your finger than to grab it and drag it. Otherwise I did find this video but it may be a bit dated... https://www.youtube.com/watch?v=JrNl8JN3_H4&t=400s
Your answer
Follow this Question
Related Questions
How to slow down a gameobject that has rigidbody 1 Answer
RigidBody falls slowly when coliding with stairs 0 Answers
Character moving in the wrong direction, glitched Rigidbody? 1 Answer
Player getting stuck in ground (3D) player has Rigidbody, and Box Collider, world is Mesh Colliders 0 Answers
Problem with movement 0 Answers