I am trying to put in a trajectory line so the player would know where the ball is going to land. All resources I found are calculating with a force applied to the rigidbody.
Does anyone has an Idea how to calculate a trajectory line with springjoints?
The only thing I can think of is to make a rough calculation of the “force” that is equivalent to the release with a springjoint…
This will likely require some trial and error…
The inputs will be the distance from the springjoint to the pivot, and the Vector from the springjoint to the pivot…
Somehow this will need to get converted to a force for the calculations. The greater the distance, the greater the force.
It seems much more complex than I thought it would be. I just came up with the idea to instantiate a second ball and let it launch, but it did not behave like I intended it.
So for now I would rather find another mechanic to launch the ball, if I really want the trajectory line. But now I would rather focus on some features and skip this one.