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 | 2593 | January 15, 2021 | |
Blocking in walls during collisions | 2 | 1082 | April 26, 2022 | |
Raycaster finds no collisions with BoxGeometry | 3 | 735 | October 28, 2020 | |
Need help in group collision detection | 4 | 2910 | October 16, 2019 | |
How to collision detect between camera and wall in BufferGeometry | 0 | 592 | April 7, 2022 |