visible arrow after shooting weapons

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

Hello
You see, my questions are hard to explain. If you have played “tomb rider”, you know that the arrow is visible after firing.
Now I want to know how it is possible to do this in Godot, that is, the arrow is visible until it hits the target.

Hi! do you have any code to share of what you are doing know? I don’t see any problem with making a node visible/invisible at certain times. What kind of node is the arrow? how is the shooting mechanic? We need more info to be able to help.

p7f | 2020-09-29 11:34

Arrow node is rigidbody
Weapon node is node
This my project

https://drive.google.com/file/d/1GfcQ-s2aH22lNokcfItrfx1sQzvalC2q/view?usp=drivesdk

abbos | 2020-09-29 11:38

Hey! im sorry but i dont see any arrow in that project… could you give more info about it?

p7f | 2020-09-29 12:10

Oh sorry
Bullet= rigidbody+collisionshape+meshinstance

abbos | 2020-09-29 12:36

It’s all covered in the fps tutorial: https://docs.godotengine.org/en/stable/tutorials/3d/fps_tutorial/part_two.html#creating-the-bullet-scene

Bernard Cloutier | 2020-09-29 15:53

Thank you
It’s really good?

abbos | 2020-09-29 16:02

Yup, it covers all of the basics of an fps (including shooting visible bullets) in detail and with good practices. In general, the Godot docs are really good. If whatever you’re looking for isn’t there, then try these great youtube channels: GDQuest, KidsCanCode

Bernard Cloutier | 2020-09-29 16:41

Thank you my brother

can i have your Telegram or WhatsApp ID?

abbos | 2020-09-29 17:09