How to make grenade land at crosshairs?

I want to make a grenade throw system that accomplishes three things:

  1. grenade must simulate physics
  2. grenade must always land at the location in the world that the crosshairs are pointing at
  3. the character throws the grenade from a location not on the line to the crosshairs

I need to somehow find the vector and force at which to launch the grenade. Any ideas?

You’ll need grenade start toss location, end location, which you can get from projecting screen space to world space. And function SuggestProjectileVelocity which calculate direction and speed for your grenade to land at the desired position.

Thank you! That worked perfectly.