Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to delete Entity #18

@cchandel

Description

@cchandel

Hi,
I'm creatng an entity in an asyncworld as below.

e = Gaw.NewEntity()
e.Add(p, m, t, r, pr, h, i, d, r)
Entities[id] = e

then deleting the entity by

Entities[id].Destroy()

After Destroying, the entity remains available when doing :-

iterT := ecs.GetComponentAll[components.T](m)
for iter := iterT; !iter.End(); iter.Next() {
  ecs.Log.Info(t.id)
}

Please help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions