Skip to content

Missing docs on GetEntityByMatcher #43

@studentutu

Description

@studentutu

Good evening,

I’m trying to understand how to use fennecs in a simple damage workflow.

For example, an Attacker (SimId = 10) can damage a Defender (SimId = 11). We have a DamageRequest(defenderId) component, and the system processes these requests by querying DamageRequest. However, to access the defender’s components directly (Health, MitigationStats, etc.), we need a world API such as FindEntityById(defenderId).

Could you point me to the equivalent of FindEntityById(SimId == 11) , or explain what the recommended alternative is?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions