Detecting when the camera (FreeCamera or ArcRotateCamera) is moved by the user?

Hi there,

How to detect when the user is moving a camera (FreeCamera or ArcRotateCamera) that have attached control? I’ve searched the doc and couldn’t find an answer.

Hey,

You have the onViewMatrixChangedObservable and/or onProjectionMatrixChangedObservable observers that you can use for this purpose.

1 Like

Ok thanks, that’s what I’m already using so far. Just wanted to be sure there was no better alternative…