Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

60
Views
orbitControls with collision detection will still clip through a plane because of panning THREE.js

I want to build a box out of planes with orbitControls inside of that box. The thing is that I don't want the camera to get outside of that box.

The source I already used is: https://sbcode.net/threejs/raycaster2/. This works well, but as well as in the example, you're able to clip through planes using panning (immediately pan downwards to see what I mean).

I don't want to disable panning, because this will contribute to the way a user interacts with the camera.

Thanks!

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!