Function jumpy::core::attachment::remove_player_body_attachments
source ยท fn remove_player_body_attachments(
entities: Res<'_, Entities>,
player_body_attachments: Comp<'_, PlayerBodyAttachment>,
had_player_body_attachment_markers: CompMut<'_, HadPlayerBodyAttachmentMarker>,
attachments: CompMut<'_, Attachment>,
)Expand description
System that cleans up old Attachment and HadPlayerBodyAttachmentMarker components from
an entity when the PlayerBodyAttachment is removed.