Skip to content

Tag: ursina

Ursina – Colorize custom model using MTL file

I’m using python 3.8, Windows 10, Ursina. I have a custom 3D model, created with this tool. When exporting, it includes an MTL file (which I’m guessing it uses to store the shape colors). When I go to load it in Ursina, it gives me the following error: Where <path> is my (correct) folder pat…

Ursina update function within class

In a project I am working on, I have multiple classes in which I wish to each have an update function when an object is created. How do I get these update functions to run every frame? i.e for this example code, how do I get both class a and b to run update functions? At the moment neither function

First-person controller y-pos logic in Ursina

I have a clone of Minecraft and I want to see if the player falls off the island it would quit the game. I thought that if I wrote. it would quit the game but that didn’t work so I don’t know what to do. Heres the Minecraft clone code. Answer You checked only for a single value of the