shooting weapon and visible bullet

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

Hi, I have created a weapon firing system and I want it to be visible when shooting a bullet For example, when I shoot with a bow, the arrow that is released can be seen by the user (3D)

Did you not make it visible with show()?

exuin | 2020-09-23 05:22

No, I do not know how to work with it. Can you give an example?

abbos | 2020-09-23 05:27

Just call the function on the node. Like

exuin | 2020-09-23 06:11

But I just made the gun and I don’t know how to add the arrow

abbos | 2020-09-23 06:17

You can make a scene for the arrow and then instance the scene every time you need to fire an arrow (docs).

exuin | 2020-09-23 06:21

Thank you brother

abbos | 2020-09-23 06:23