Join Nostr
2026-03-16 12:47:13 UTC
in reply to

Liblast on Nostr: And so I think I'll instead have to make a class EntityInterface and in my entity ...

And so I think I'll instead have to make a class EntityInterface and in my entity scripts extend host node type like CharacerBody3D but include an entity_interface member which would be a class extending RefCounted and would give access to everything that the Entity class has now. Then in Game or even Entity class I can have a `static func is_entity() -> bool` so entities can easily check without doing some stupid error-prone dance every time.