Attention | Topic was automatically imported from the old Question2Answer platform. | |
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?
Attention | Topic was automatically imported from the old Question2Answer platform. | |
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?
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. good luck with your game.
Millard | 2020-10-02 16:55