We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
threshold 固定值无法精准适配 scale 节点大小的问题。
let ray = new THREE.Raycaster() ray.setFromCamera(normalMouse, this.camera) ray.params.Points.threshold = 2 // 对于不同的scale 这个固定的值会导致无法像碰撞检测那样精准的拾取,有无更好的方案? let intersects = ray.intersectObjects(this.scene.children).filter(e => e.object.type === 'Points' && !e.object.name.startsWith('hl'))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
threshold 固定值无法精准适配 scale 节点大小的问题。
The text was updated successfully, but these errors were encountered: