You have to use …geometry.attributes.position and geometry.attributes.normal to calculate ray position and direction on buffergeometry, you can utilise arrowHelper to visualize where rays are going from / to.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
BufferGeometry collisions with raycaster | 4 | 2611 | January 15, 2021 | |
Blocking in walls during collisions | 2 | 1088 | April 26, 2022 | |
Raycaster finds no collisions with BoxGeometry | 3 | 745 | October 28, 2020 | |
Need help in group collision detection | 4 | 2918 | October 16, 2019 | |
How to collision detect between camera and wall in BufferGeometry | 0 | 595 | April 7, 2022 |