Skip to content
Advertisement

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 path. How can I load the

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

Ursina FirstPersonController Change Collider Not Working

My Issue I am using the Panda3D wrapper for Python to run some 1st person game tests. I would like the collider of the ursina camera type called the FirstPersonController to extend its collider over the sprite. I have tried (without really knowing how as there aren’t many tutorials on Ursina) using a BoxCollider() but I didn’t really get how

Advertisement