Help for Boomerang-like Projectile Mechanic

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Vortrux

I’ve been trying to make a 2D platformer with a specific mechanic I have been struggle on in gdscript. Is there any way to have a projectile fired and when landing on an enemy/terrain/collisions will bounce upwards like a negative parabola that lands on the floor at the location the player fired. Whether KinematicBody2D or RigidBody2D, please help me develop this function.

Example