All Questions
Tagged with game-engine python
665
questions
5
votes
2
answers
3k
views
BGE mouse location in 3D space
I'm a (very new) beginner in python, and I was trying to follow this older technique for getting mouse location in 3D space in the Game Engine.
However, I can't get it to work and I don't know what ...
4
votes
1
answer
2k
views
Can I access the render screen size in a custom filter 2D in the game engine?
I am using Blender Game Engines Filter 2D to make a post effect with GLSL.
In an fragment shader applied on the frame buffer, I want to access the size in pixels of that buffer in GLSL.
...
7
votes
1
answer
3k
views
Draw geometry on screen using BGL module
I am trying to use the bgl module to draw triangles on top of the Blender interface. My understanding is that glBegin/glEnd are deprecated, and vertex array or display list or VBO should be used ...
7
votes
4
answers
14k
views
How to Set a Property Value in Blender Game Engine?
How would I set a property value with python in the Blender game engine?
9
votes
1
answer
8k
views
Get the rotation of an object in the game engine
How would I get an object's rotation and set that as another's velocity? Like if I had Object A, that has the rotation data, and Object ...