Skip to content

Fire raycaster events on collided entities #31

@gmarty

Description

@gmarty

In the VR experience I'm building, I have 2 navigation systems: navmesh (to navigate through a scene) and portals (to change scene).

blink-controls is great for teleportation, but can't interact with portals. So I have to use laser-controls just for the portals.

I'd like for blink-controls to fire raycaster events on the intersected entity:

  • raycaster-intersected
  • raycaster-intersected-cleared
  • click or any other event to know that the action took place

I also need to be able to cancel the teleport by capturing the click event if the intersected entity is a portal.

What do you think? Any objection to this feature?
I will also take any tips on how to implement this.

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