Restrict y axes to remain on floor
Closed this issue · 2 comments
tokbuga commented
Is there a possibility disable Y axes angle direction? Character is flying when backward and going to deep when forward because pointer looks that direction.
vanruesc commented
Have you tried configuring the polar angle? If you're using a 3rd person camera and want to limit the view to not go below the ground level, you can use controls.settings.rotation.setMaxPolarAngle(Math.PI * 0.5)
.
vanruesc commented
Closing due to inactivity.