panda3d

Autocompletion for Panda3D in VSCode

Autocompletion for Panda3D in VSCode Question: Autocompletion doesn’t work for Panda3D 1.10.11. in VSCode 1.68.1. Is it possible to solve this problem? Asked By: 8Observer8 || Source Answers: This problem is caused by the lack of .subs files in panda3d package, not vscode. Related problem has been raised in GitHub. Please wait for the update …

Total answers: 2

Why can't I load a .OBJ file into Python Ursina?

Why can't I load a .OBJ file into Python Ursina? Question: I am using the python Ursina engine. I want to import a .OBJ file, but it never works, yet no errors are raised. I have tried: from ursina import * from ursina.mesh_importer import * app = Ursina() model123 = load_model(‘model123.obj’) model123Entity = Entity(model=model123) def …

Total answers: 2

Using 3d obj files and textures in Ursina for python

Using 3d obj files and textures in Ursina for python Question: I am trying to load a 3d object into a program written with Ursina. I am able to load the 3d file, and I can load the textures, but they won’t load together. I’m sure there is something I am misunderstanding about the 3d …

Total answers: 1

Accessing a variable defined inside a function Python

Accessing a variable defined inside a function Python Question: I am working on a project and I am running Python 2.7 and Panda3D v1.8.1. I have been unable to find out how to access a variable that was defined in a function. For the setup I have two files. One file manages events and the …

Total answers: 2

Math formula for first person 3d game

Math formula for first person 3d game Question: I want to make a first person 3d game but I can’t set the camera formula right. So I have a rotation: 0 to 359. Next the x,y coordinates, z remains the same. Camera rotation : 0 – front, 90 – left, 180 – back, 270 – …

Total answers: 1