I am using the python Ursina engine. I want to import a .OBJ file, but it never works, yet no errors are raised. I have tried:
from ursina import *
from ursina.mesh_importer import *
app = Ursina()
model123 = load_model('model123.obj')
model123Entity = Entity(model=model123)
def update():
move()
EditorCamera()
app.run()
I have also tried it without the .obj ending. Any help?
I have now tried:
from ursina import *
from ursina.mesh_importer import *
app = Ursina()
model123 = load_model(obj_to_ursinamesh('model123.obj'))
model123_Entity = Entity(model=model123)
app.run()
I get the error:
AttributeError: 'str' object has no attribute 'glob'
AL lib: (EE) ALCwasapiPlayback_mixerProc: WaitForSingleObjectEx error: 0x102