I was wondering if there is a way to limit the polar angle so the camera doesn't go into the ground when I'm using PointerLock controls in Three.js? Similar to the minPolarAngle and maxPolarAngle for Orbit controls?
Asked
Active
Viewed 428 times
0
-
1See https://github.com/mrdoob/three.js/pull/19580. – WestLangley Jun 07 '20 at 05:32
1 Answers
3
PointerLockControls
now supports .minPolarAngle
and .maxPolarAngle
.
three.js r.118 (dev version)

WestLangley
- 102,557
- 10
- 276
- 276
-
1Goodbye WestLangley. Thanks for everything you have done for us. Posted on your last answer. – Halo Mar 01 '22 at 16:26