Closed aronand closed 2 months ago
In the original demo map, a lot of the pieces end up in the middle of the gun range section:
The drawers however seem to work as intended:
Unrelated to the doors, the note on the wall disappears even when nothing has been interacted with:
Thanks for flagging this: was able to reproduce and am looking into it.
Ok, this should be fixed in https://github.com/Phazorknight/Cogito/commit/2ee85030bba5f0e76bc18d432d0a00ed5184f966
When I implemented the state loader for the sliding door that can close automatically, I made that the default for ALL doors if they were open. This update fixes this and implements two methods that improve readability to set door states more easily.
Doors now seem to function as intended 👍 the note still disappears however, in both original and new test map (albeit of course that is not what the ticket is directly about).
@aronand yeah, there's actually something weird going one with Cogito Objects that are based on StaticBody3Ds. Will make a separate issue about it.
Cogito and Godot Engine Version: Godot: 4.2.1 Cogito: 6d9f37e
Description: Opened doors visually break if a scene is switched. This seems to impact all opened doors in one way or another.
Reproduction steps:
Expected behavior: The doors should retain their position if their state has been altered.
Screenshots: Door looks visually closed, but state is open
Doors look closed, but are also positioned wrong
Door has vanished from the scene, most likely somewhere outside the level