ursina icon indicating copy to clipboard operation
ursina copied to clipboard

Actor glft light/texture issue

Open volodyaleo opened this issue 1 year ago • 1 comments

I have read faq and added Actor.

But models are black. The model can be found here.

        self.actor = Actor(model)
        self.actor.reparent_to(self)
        self.actor.setScale((scale * (1 / model_width), scale * (1 / model_height), scale * (1 / model_width)))
        if model_rotation_correction:
            self.actor.setH(model_rotation_correction)
        if model_y:
            self.actor.setPos(0, model_y, 0)

Can someone help me? What the reason might be?

Снимок экрана от 2023-08-18 00-06-31

volodyaleo avatar Aug 17 '23 21:08 volodyaleo

You're lucky, at least gltf works. When i tried to use gltf, all i've got is a path error, no matter how i exported and place model :D

For Actor it's better to use .egg format of models, works 100%.

imbomania avatar Sep 25 '23 12:09 imbomania