Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道是否有办法限制极角,这样当我在 Three.js 中使用 PointerLock 控件时相机不会进入地面?类似于 Orbit 控件的 minPolarAngle 和 maxPolarAngle?
PointerLockControls现在支持.minPolarAngle和.maxPolarAngle。
PointerLockControls
.minPolarAngle
.maxPolarAngle
three.js r.118(开发版)