"Cooking physics is not enabled globally" error


I am trying to add a mesh collider to my 3d model but I am getting this error on runtime. I can compile the program without problems though.

this is my code

Does anyone have an idea?


Make sure START_UP_DESC::physicsCooking enabled when first starting Application.


I’m really a beginner with this framework. Can you tell me exactly how to do it? I couldn’t figure it out on my own.
Thank you very much


You can provide START_UP_DESC to Application::startUp() which should be getting called as one of the first things in your application.