How to do a curved raycast?

Is it possible to show the project where this problem occurs or the code file of how you are currently doing this?

Hello @yaustar, i have add you to the project.

You can find everything you need on the player.
(Root > Game > Player > Throw).

To activate the throw line in game, click on the stone in your inventory.
(Actual throwing is not possible right know and enemies are temporarily deactivated).

There is currently no good solution for this problem. Maybe because it’s a bug in Playcanvas. If someone can help, I would love to hear from you!