Hi! I'm making a level generator, and every time the player opens a door, a FSM spawns a new room from an array on the fly, and connects it to that door.
I've gotten the positioning and rotating of the rooms to work just fine, BUT since there's no logic to determine if the new room actually fits, i've added a trigger collision check once the new room is in the correct position, to ensure it doesn't overlap with some other room existing in that location.
This is where my problem shows up: all the rooms have kinematic rigidbodies, they're all on the same tag, and the trigger event is set to look for that tag, but i can't get the newly instanced room to detect a trigger collision reliably.
I've tried within the same frame, as well as waiting a frame until the collision check, and i've also tried permutations of 'enter' as well as 'stay'. The only scenario where i had success was sending an event with a 1 second delay, and even that fails most of the time.
I've wasted hours and hours on this, and i can't imagine what's stopping my
colliders from triggering. Help would be greatly appreciated!