Skip to content

Decouple PointerId and PointerKind #20418

@aevyrie

Description

@aevyrie

When making a custom ID'd pointer, it is also desired to be able to specify what kind of pointer it is, because application logic can change based on this. Today, these two are coupled.

Pointers do not use the Entity as an ID, because lifting the pointer despawns the entity, and the pointer being controlled needed a stable ID. It's possible we can solve this problem today, or just use a UUID under the hood for all pointers that is stable between pointers lifting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-InputPlayer input via keyboard, mouse, gamepad, and moreA-PickingPointing at and selecting objects of all sortsC-FeatureA new feature, making something new possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions