Hi, I want to make an arrow that moves in the direction of raycast

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

Hi, I want to make an arrow that moves in the direction of raycast
Which source code can direct the bullet in the axis of raycast?

:bust_in_silhouette: Reply From: Bernard Cloutier

Try this: New Game Project.zip - Google Drive

I’ve downloaded your project from another one of your questions (please stop spamming, it’s better to make one descriptive post containing a link to your project). I’ve added a projectile class, and modified the weapon to shoot that instead of doing a raycast. It’s not perfect, but it’ll get you started.

glad you finally got an answer to work with. :slight_smile: good luck with your game.

Millard | 2020-10-02 16:55