Skip to content

Destructible light sources #62

@SkoggsTrollet

Description

@SkoggsTrollet

Definition of done

  • (Idea 1) Use colliders for area covered by light source. If light source goes out the collider is turned on. Everything inside collider is considered in darkness.
  • (Idea 2) Raycast from each active light source to each entity. If all raycasts can't reach an entity it is in darkness. Taking out a light source stops it from sending out raycasts to entities.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions