Curved boomerang trajectory

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

I’m working on a boomerang weapon for a 2D sidescroller. Getting it to fly out and return to the player was easy enough, but I’m a little stumped trying to get it to fly in a curved trajectory on the return. I’m trying to get something similar to the Boomerang Cutter from Mega Man X. Any advice or direction would be great.

animated gif of what I’m trying to do

:bust_in_silhouette: Reply From: insaneNic

Try using the Path2D Node to draw out a path! Then just let the boomerang follow the path.

1 Like