Remove ego bodies from capsule list
removeEgo(
removes ego bodies with the specified IDs from the dynamic capsule list.capsuleListObj
,egoIDs
)
additionally returns an indicator of whether an ego body is removed, not found, or a
duplicate.status
= removeEgo(capsuleListObj
,egoIDs
)