Search Unity

How to calculate where an object will hit the floor with the applied force

Discussion in 'Physics' started by Kozaki2, Oct 3, 2020.

  1. Kozaki2

    Kozaki2

    Joined:
    Apr 8, 2019
    Posts:
    47
    Hi, so in my game I have an enemy and I want him to throw a GameObject in the direction of the player, but the force needs to be applied with some angle directed up. This GameObject should move in three axis but end at the position of the player. I want to achieve something like on the image in the attachment but I don't even know where to start, how to calculate what force I should apply to the throwable GameObject? This object should move with constant speed.
     

    Attached Files:

  2. AlTheSlacker

    AlTheSlacker

    Joined:
    Jun 12, 2017
    Posts:
    326