问题标签 [mouse-picking]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
three.js - ThreeJs Badly 通过画布看到鼠标的协调性
我的项目结构 66% threejs 模型,44% html(侧面控制)使用 Bootstrap。我正在尝试制作鼠标选择器,当指向一个对象时,它会显示在它指向的对象上。据我了解,他认为鼠标的协调性很差。请帮助我找出并使用 Canvas 设置正确的协调鼠标。
代码:
要点链接: https ://gist.github.com/artur33s/e15abda28707231863ded08ccfe0887d