Hello, can someone help me with this code? I’m trying to create a system where, after interacting with three objects, a door opens — but it’s not working. The Key variable is stored in a Game Instance, and I’m using a raycast for the interaction. the first one is the door and the other one is the interactible object. (modifié)dimanche 26 octobre 2025 19:02
I’ll need some more information to help. Is the key a float that keeps track of how many objects you’ve interacted with? If so, have you used a break point to make sure the value is updating. If the break point doesn’t get hit then you might need to update the collision settings on the objects so that the raycast can register a hit. Also, when are you checking if all 3 objects have been interacted with? Have you used a break point to make sure that logic is getting hit?

