How to cancel automatic adjustment of model camera when the camera is under the ground

How to cancel automatic adjustment of model camera when the camera is under the ground

Like this http://devmodels.oss-cn-shenzhen.aliyuncs.com/devtest/liubofang/video/bandicam%202022-05-31%2014-09-32-426.mp4

I think the reason for this may be that I opened useframingbehavior

playground: https://playground.babylonjs.com/#Z6SWJU#281

I think I have the answer. Just set 'camera.framingBehavior.elevationReturnTime = -1‘

2 Likes