How to put limitation on orbitCamera in Model Viewer Starter Kit

You are the guru! thanks a lot!!!

Hi @yaustar https://playcanvas.com/editor/scene/619863 the link is dead. Could you please share it again ?

Unfortunately, Iā€™ve since deleted the project. Do you need something similar where the yaw rotation is restricted?

@yaustar Yes I am trying to limit yaw. I used pitchAngleMax for limiting the pitch but I couldnā€™t limit the other one.

Hereā€™s another quick and dirty example that has bugs but will get you going https://playcanvas.com/editor/scene/1078234

thank you!