Questions tagged [ursina]

Ursina makes it easier to develop games, visualizations, and other kinds of software. The concise API combines with the power of the Python programming language.

Ursina makes it easier to develop games, visualizations, and other kinds of software. The concise API combines with the power of the programming language.

Links: Documentation

238 questions
0
votes
0 answers

R object goes through land object from it sides the up, down, back, right, left direction expect forward

I experimented with my code to get the r object to not go through the land object or o. The object goes through all of it side up, down, back, right, left but the forward is the one that works. The problem is that the if collider loop only stop at…
0
votes
1 answer

how can I import dwg file in ursina python?

I want to create a background for my game with autocad, but I don't know to set the dwg project as background in my python (using ursina) app. Thanks
Roby Chad
  • 3
  • 2
0
votes
1 answer

I get an error when trying to use auto-py-to-exe to export an Ursina based game

I'm using the ursina module for my game. When I try to run the exe file I made with auto-py-to-exe, it gives me this error: failed to execute script 'main' due to unhandled exception: No graphics pipe is available! Your Config.prc file must…
0
votes
1 answer

What's wrong with `postion`, I did it correctly?

from ursina import * #preloads a cube class Voxel(Button): def __init__(self): super().__init__(self, position = (0,0,0))( parent = scene, position = position, model = 'cube', origin_y = 0.5, …
0
votes
1 answer

Ursina FirstPersonController camera moving way too fast

from ursina import * from ursina.prefabs.first_person_controller import FirstPersonController class Voxel(Button): def __init__(self, position): super().__init__( parent=scene, position=position, …
0
votes
0 answers

Level Change In Ursina Game Engine

I'm making a 3d platformer game in ursina and finishing level 1. But I can't get the Player to touch the portal and move to the next level. Also, I'm using my own player controller for some smoother jumping so I can't use intersect. I'll show you…
DonYeet46
  • 13
  • 6
0
votes
2 answers

my player is falling and moving on its y axis when i add a camera to the player in ursina

Ok in my code i was trying to get the camera to follow my player and i was following a tutorial i found on stack overflow. But when I did it the player "fell" and rotates on its y axis how did this happen and also I tried to spawn the ground class…
0
votes
2 answers

ursina: how to save rendered frames as image or video?

In ursina, How can I save the render frames as a sequence of images or a video? Ursina cheat sheet has nothing on this.
Saikat
  • 1,209
  • 3
  • 16
  • 30
0
votes
1 answer

how to get two or more classes in ursina to detect collusion?

So im new to ursina and listen to a lot of youtube how to's and alot of github, doc for ursina, reddit, etc. before i got into it. well i decided to get into the actual coding part and pick this code and i wanted to see if there was a way for two or…
0
votes
1 answer

How to get the the vector of mouse position in python ursina

I'm making a Platform-Maker and I need to get the position of the mouse, then I place a object in there. Then I need to store it into a array so I can convert it to code later on. Right now I have to store it into a array, but when I do that it…
DonYeet46
  • 13
  • 6
0
votes
1 answer

Class Object not working as expected in Ursina

I have a class named startPlatform in Python. I am using the ursina engine. When I call it, it gives me an error: Traceback (most recent call last): File "C:/Users/eshan/OneDrive/Desktop/ursina-platformer-maker/main.py", line 29, in ` …
DonYeet46
  • 13
  • 6
0
votes
1 answer

How do you convert a vec3 to a tuple in python

I'm recently developing a ursina app, and I have a question. Whenever I get the player position, it comes in a vec3 format, so when i call it in the update() function, I get an error.: File…
0
votes
1 answer

Solar System Simulator in Python, Ursina

I'm trying to do a Solar System simulator in python, with the Ursina engine, with physics. It works correctly until the earth (the only planet existing for the moment) gets in the same position on one or two axis than the sun. Then it just starts to…
Doppler
  • 3
  • 2
0
votes
1 answer

Shake window in Ursina

Is there a way to shake the ursina game window. like "window.shake(duration = 1)" doesn't work. if there isn't, could it be possible to make all the entity's inside the game shake at the same time?
0
votes
1 answer

How do I duplicate the same window in VSCODE

I tried duplicating a the same window but it just went. I made this server.py file that needs to be run twice if we need 2 players. Anyone know how to duplicate windows in vscode?
DonYeet46
  • 13
  • 6