i want to know how to use custom 3d models #254
-
can anyone help me with how to use custom 3d models |
Beta Was this translation helpful? Give feedback.
Answered by
PixelTomato
Aug 30, 2021
Replies: 2 comments 8 replies
-
To create an entity with a custom model, you should be able to do something like this: from ursina import *
app = Ursina()
custom_model = load_model("name_of_model_file.obj")
Entity(model=custom_model)
app.run() Make sure to replace "name_of_model_file.obj" with the actual path of your custom model relative to your project's directory and you should see your custom model appear on the screen when you run your script. |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
hacker101red
-
@PixelTomato i asked a new question can you please answer them? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To create an entity with a custom model, you should be able to do something like this:
Make sure to replace "name_of_model_file.obj" with the actual path of your custom model relative to your project's directory and you should see your custom model appear on the screen when you run your script.