#Instanced Scenes Acting Unusually

3 messages · Page 1 of 1 (latest)

unkempt steppe
#

Hey folks I'm working on my first original project in Godot 4 (a 3d top down wave shooter) and I've run into a couple issues I'm sure are simple but they're beyond my limitted knowledge so I thought I'd see if anyone here had any idea what I could do to fix them.

The first one is that when I fire a projectile a second one is also fired from a different location which seems to grow more disparate if the player moves. I assume there's a duplicated node or something that's causing the trouble but I wanted to get more experienced eyes on the problem.

The next issue is I made a node3d to spawn enemies but the spawned enemies don't seem to function the way the original enemy scene functions. I haven't had any luck making them path find. I assume it has something to do with when they fetch information from the player scene and a friend had told me it might be an issue with the structure of the scene tree itself--which seems likely, my code and project are a big ol' mess.

If there's any advise you can give me I'd appreciate it! I've attached an archive of the file as well.

unkempt steppe
#

Instanced Scenes Acting Unusually

iron fiber
#

if the projectile trigger is a key maybe you used is_action_pressed instead of the other one though this is unlikely if it's always two projectiles and not multiple

not sure about your second issue, would need more specific info