Looking for a fun and easy way to throw a ball in your Unity game? Look no further than the 2D Trajectory Controller! This game asset allows you to throw a ball with touch input and mouse input, and you can even adjust the strength and angle to customize your experience.
This trajectory controller is a great way to add some excitement to your game! With touch input and mouse input, you can easily control the trajectory of a ball or game character and make it go where you want it to.
--> You can adjust the strength and angle of your throw with touch input, and the ball will follow the trajectory you set. --> With mouse input, you can click and drag the ball to set the trajectory, and release to throw.
Use Unity 2D physics to design your levels and handle the user input and jump mechanism by this controller.
Best for 2D golf games, angry animal kind of games, 2D pool or billiard games and every game where you want to throw a game object by drag and release.
This asset comes with a demo scene and some 2D graphics to let you get started quickly.
The C# code is well documented and easy to understand, so you can use it as a base and extend it to your needs.
So why wait? Give the 2D Trajectory Controller a try today!