I’m creating a ragdoll, with physics joints to hold all the parts together. When I want to destroy the ragdoll, do I need to manually remove all the joints? Or are they removed automatically (and eligible for garbage collection) when I remove the two objects the joint is connected to?
I know there’s documentation on removing joints using removeSelf(), but this was mostly for the situation where you wanted the joint gone (so the parts would fly apart). Nothing on whether it was required when removing the objects.
I’m doing a memory leak test and it seems to make no difference if I remove the joints manually or not, but it would be good to know for sure. [import]uid: 49372 topic_id: 9450 reply_id: 309450[/import]