I remember reading something in regards to changed behavior with :Destroy(), but as far I remember I feel like the changes were supposed to silence these issues, but I could be wrong on that.
So I have an interaction system. You can interact with these drawers. I’m working on adding a feature where collectibles can spawn inside of those drawers that you can collect.
Now, the client caches these drawer objects in order to manipulate their CFrame to handle the opening/closing animations. (Note that the collectibles are parented into the drawer so that the collectible moves when the drawer moves)
To get to the point, when the drawer opens and I interact to collect the collectible inside, the interaction system I have still thinks the collectible is inside the drawer, despite it being destroyed.
I’ve verified this trying numerous approaches such as having the server relocate it to somewhere completely off the grid, but on the client the ray still is hitting the non-existent collectible, preventing me from closing the drawer.
This sounds like odd behavior for raycasting. I get the reference to the object still exists, but why would that effect the raycasting engine? The instance itself no longer is parented.
I can clarify on anything if needed. Does this sound like intentional behavior with the engine?
Thanks a lot. ![]()