- Home /
Question by
Jellogramming · Oct 18, 2021 at 04:11 PM ·
rigidbody2dlaunch
Launch a rigidbody 2d to a position
I am making a game where you can launch your character to a position by clicking the mouse, and the player launches to land at the mouse position. The problem is that I don't know how to launch it in a way that it will always end up at where the mouse clicks (unless there is an obstruction in the way).
Comment
Best Answer
Answer by Jellogramming · Oct 18, 2021 at 07:45 PM
Problem solved! I found a solution from a blog that involves a lot of math, here's a link for anyone who has the same problem: https://luminaryapps.com/blog/arcing-projectiles-in-unity/