Phazorknight / Cogito

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

Interaction crash when interactions are too close to eachother #57

Closed Bezoika closed 8 months ago

Bezoika commented 8 months ago

https://github.com/Phazorknight/Cogito/assets/57206297/d93cc306-35ea-4f8a-abce-0dfa8b830b37

Screenshot 2024-02-11 215829 Screenshot 2024-02-11 215854

When picking up the battery, it is too close to the drawer, from what i understand its causing the interaction on the drawer to be free'd, so when trying to close the drawer after, it causes a crash.

Phazorknight commented 8 months ago

This is odd, so far I wasn't able to reproduce this. I see you changed the default interact actions, can you confirm which ones you have on the drawer and the battery when this error occurs?

I do know one or two issues with the interaction raycast check that can be improved that might fix this error, so I'll look into that as well.

Phazorknight commented 8 months ago

Ok, try the latest commit from main and see if this might fix your issue: https://github.com/Phazorknight/Cogito/commit/e8198c26ad42f419f4637c0e65dc248a80082ca3

Bezoika commented 8 months ago

This appears to be fixed now, thank you!