Phazorknight / Cogito

Immersive Sim Template Project for GODOT 4
MIT License
902 stars 101 forks source link

Wieldable projectiles get hidden when the wieldable that spawned them is unequipped. #53

Closed Phazorknight closed 8 months ago

Phazorknight commented 8 months ago

Was mentioned on Youtube and I'm logging this here. Repro steps:

1) Pickup foam pistol. 2) Shoot a projectile so it lands on the floor somewhere visible. 3) Unequip foam pistol -> the projectile gets hidden. 4) Re-equip foam pistol -> projectile reappears.

Cause: The projectile gets spawned with the wieldable node as parent. If the wieldable gets unequipped, it gets hidden, causing all projectiles to also get hidden. Need to reparent the projectiles to solve this.

Phazorknight commented 8 months ago

Fixed in 202402.02.