Issue Area: Engine Issue Type: Other Impact: High Frequency: Constantly Date First Experienced: 2022-06-15 00:06:00 (-07:00) Date Last Experienced: 2022-06-15 00:06:00 (-07:00)
This really shouldnāt be changed, documentation should be updated. I donāt want every single line of code I reparent part of a model to potentially error because it has been destroyed. This would be a major breaking change.
Like @Qualadore said, this is indeed a documentation issue - we donāt want fallen parts to call Destroy(). We have already filed a request internally, but it looks like we havenāt gotten around to fixing this yet. Iāll follow up again with our Documentation team and see if we can get this fixed soon!
This still needs to be fixed, the issue is fallen parts are just re-parented or something, but donāt get the āDestroyā method called on them.
This has nothing to do with the āDestroyingā event being called for instances just being reparented which is what was mentioned above. The behaviour of fallen parts is what needs to be changed.
Please change, current behaviour is unexpected and causing bugs, and is hacky to replace with just checking for Parent = nil.
(Bonus bug: if you keep a reference to the fallen instance and destroy it again after, it fires Destroying twice simultaneously)
Just to close out this thread, the description for FallenPartsDestroyHeight was corrected earlier this year. It no longer states that parts are ādestroyedā. Thanks for reporting this!