I am using addforce
to throw object into the air, I want to instantiate a plane in position of landing point, how can I do that? I was thinking to calculate the landing point with Unity Physics API but I don't know how.
I have tried some code about projectiling but it won't help
if (other.tag == "CarPlayer")
{
other.gameObject.GetComponentInParent<Rigidbody>().AddForce(0, 1 * power, 1 * power, ForceMode.Impulse);
}
I really need an algorithm to find actual point that the object is going to land