load 3d objects at runtime

Hi,

I have some 3D object in .OBJ format in a folder and i would like to load those into a level at runtime.

Have anyone an idea?

thanks!,

Since I’m a newbie, I can’t help you directly with that problem. However, I know there is a function, called

function OnWillRenderObject (){}

Commands placed in that function will be executed when the parent object gets visible (to any camera or even scene-view). So if there should be no direct solution to your problem you can let already loaded objects appear at certain positions of a level, this way.

Documentation - OnWillRenderObject