TheGrumps Posted April 28, 2018 Share Posted April 28, 2018 I'm using the ArcRotateCamera and controlling pan by updating the inertialPanningX & inertialPanningY properties, and it's working well. However I'm not clear on the best way to limit the target position within a box. I have attempted clamping the target position in the render loop, however it creates a wobble effect when near the edges. Is there another way that a limit can be defined? (I see the camera allows limiting the rotation and distance, so am I missing the pan limits?) Thanks in advance! Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.