Raycasting is an expensive operation, but you can try speeding it up with octrees: Raycasting with camera - Questions - Babylon.js (babylonjs.com)
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Split mesh with 2 solids into 2 meshes | 4 | 700 | August 24, 2021 | |
How to delete overlapping faces? | 7 | 134 | May 31, 2024 | |
How to remove the top and bottom sides of the generated model and only retain the side of the model | 5 | 255 | December 24, 2023 | |
CSG: face count increase greatly after subtractInPlace | 3 | 75 | May 15, 2024 | |
Introducing: CSG2 | 64 | 1591 | June 18, 2025 |