- Home /
Help needed with 3D mini golf game
Hello everyone!
I am in need of some help with a 3D mini golf game I am making. So far I have made is so the camera i able to orbit the ball, but now I am stuck on being able to control the ball.
I'd like to be able to click and drag back from the ball to pull back (a line renderer would appear to show the direction of the shot) then the more you pull back the more powerful your shot would be. Then when you let go of the mouse button the ball would move forwards.
I have found tutorials on how to do this in 2D but I haven't been able to replicate them in 3D.
If anyone is able to help me I would greatly appreciate it!
I have attached a link to an image of how the game currently looks (with drawings on top) to give you a better understanding of what I'd like to happen.
https://imgur.com/WlQkJi6 Thank you all so much :)