Godot 4.1-2 GDscript
more details can be provided.
This is a bit complicated but here we go, I am looking for a way for the player to be able to pick up and use weapons in 3d game. Im not looking for an inventory system, im looking to be able to pick up 1 weapon and see that weapons animations and have different stats for different weapons, this should be able to work with many weapons.
Thank you for anything
1 Like
Been going through some similar tasks and I found this to be a great starting-point for me to think about how I’d like to do it:
1 Like
I will check it out thanks
1 Like
I realized I cant do this because all of the weapons in this video are kept within the players scene, this is a problem because I cant have like 30-50 weapons on the characters scene at once
basically the main problem is I don’t want to have like 50 nodes in the players tree just for weapons
Try adapting the code to instantiate() and queue_free() instead of setting visibility. The AnimationPlayer and animations will have to exist on each weapon, but that sounds better to me anyways.