Skip to content

Mouse picking returning incorrect worldspace position #93

@tamaynard

Description

@tamaynard

Seems like there's been a regression in the mouse picking feature since #37, as I am having a similar issue once again. Appears to be something with an incorrect z-value once again. Here's a simple repro case https://codesandbox.io/s/react-vtk-js-base-forked-o60cu0?file=/src/App.js. Clicking on the cube surface should place the red sphere on the surface of the cube under the mouse. However, it seems to be only intermittently selecting the correct coordinate.

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