Multiplayer game, check world physics collision on the server side

Hi all, I read that all game logic and player position in multiplayer games should be calculated in server side to prevent cheating from front end, but for example if I will create a huge 3D world scene in Cocos Creator editor, how can I duplicate all physics and collision data from this scene to the server side?

In examples, I saw just basic usages of Cannon.js framework in the server side with standard 3D shapes (Box, Sphere, Plane), but how to simulate a terrain mesh, complex world mesh from cocos creator scene in the server side. Or in this case, developers check player’s position in front end and allow cheating?

I am very interested in this issue myself, if anything becomes known, let me know.