Skip to content

Adding controller event messaging #7

Description

@paulhayes

I've been experimenting with a flexible simple to understand system for both interactive elements in a scene, and scripts attached to the controllers themselves, getting notification of pointer events.

By having a LaserPointerEventData which inherits from PointerEventData, but adds the current object, we can execute the event on both the controller and the raycast target hit. Here's a UML sequence diagram, the change is in red.

https://docs.google.com/drawings/d/1PJHluA771l2r_YbolvIAVGECPJEEyEGNa29X97QOlWg/edit?usp=sharing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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