Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | genfy | |
Old Version | Published before Godot 3 was released. |
I’m trying to create a weapon system, where the player can switch weapons (scenes of a weapon).
The method I came up with is as follows:
An important point is that the “Hands” node is supposed to be a linked scene.
So the thing is, I want a script on the “Hands” node to control the left and right arm, but I want the “Left_Arm” node to be rendered behind the body.
In my game “Hands” will be swapped with scenes like “Gun” to switch weapons, and a “fire” function will be called when the player left clicks.
Is there a better system than this? Or is there a simple fix that’ll make me feel like an idiot?