I’m using Typescript for my Babylon code. To load a large model, I got something called simplify function in Auto-LOD. But, don’t know why but it is showing: Property ‘simplify’ does not exist on type ‘AbstractMesh’.
Can anyone tell me what is the main reason for this?
My guess would be that it is because simplify does not exist on AbstractMesh (see here). Simplify does exist on Mesh however, so a simple cast of AbstractMesh to Mesh could solve your issue: (myMesh as BABYLON.Mesh).simplify().
Please note that I myself am new, I just had similar issues and this is what solved those issues for me