Skip to main content

All Questions

0 votes
1 answer
1k views

BGE: How to Change Active Camera with Python? [duplicate]

While in the blender game engine, I am trying to write a code that makes it so that the player changes the active camera every time the space-bar key is pressed. This is my first time making a game ...
Sequoia Lawson's user avatar
0 votes
1 answer
121 views

Blender bge camera edge clipping aproach help

i have this thing on the bge: "see the image" \n while the camera moves, the origin of my objects(tiled ground) reachs the edge of the camera" so blender stops rendering it because gets offscreen. im ...
Javier's user avatar
  • 196
0 votes
1 answer
87 views

Imitate Copy Transform Constraint in BGE

To put it simply, I need something like the Copy Transform constraint that'll work for the BGE. I have a setup for landscape Level of Detail, in which there are 2 scenes (one for high-poly models and ...
JakoNintenCraft's user avatar
1 vote
0 answers
559 views

Get raw pixel data from a camera, into the python script

I am planning on making an artificial neural network to control an object in blender game engine. The NN will be on the python script. I have never written a code on blender before. There are going ...
NiMan's user avatar
  • 11
3 votes
0 answers
308 views

How to get render to texture working?

I have read the manual, watched tutorials, and read forum posts. So far they have all been based on GLSL and using Python. Including multi-texture in my search results in tuts about applying multiple ...
bouncing_hole's user avatar
2 votes
0 answers
52 views

Blender Game Engine: A monitor for each camera?

I have a scene with two cameras and want to display every camera on a separate monitor in fullscreen. That means camera 1 is displayed on monitor 1 and camera 2 on monitor 2. How can I do this? Thanks ...
Frostie's user avatar
  • 31
0 votes
0 answers
545 views

Detecting Object in FOV camera in BGE

I am trying to detect if an object is visible from a camera (i.e. not only if it is in its FOV but also it should not be behind another object). I was looking at using the ...
Alby's user avatar
  • 1
2 votes
1 answer
1k views

How can I make a screenshot in the BGE (numpy of pixel values) without saving to disk?

I'm doing a computer vision simulation in blender game engine, so I need to make screenshots that will give me an array/numpy of pixels to do image processing on at each frame. Saving it as PNG ...
Alex Azazel's user avatar
1 vote
0 answers
260 views

Respawn camera relative to character location

I have a side scrolling platform game. I am animating the camera from point A to B and my character has to keep up with the camera's FOV to reach the level's objective. I would like my character to ...
Xav's user avatar
  • 11
2 votes
1 answer
225 views

How can I achieve this "security camera" effect?

I want to create the following effect: When a keyboard control is pressed the main camera will be switched to another camera that already exists in the scene. At that time till the camera is switched ...
Lev's user avatar
  • 947
0 votes
1 answer
59 views

Object appears in camera? [duplicate]

How can I investigate if an object appears through a camera in BGE? Ray sensor does not suit me cause it is one line, while I am searching for the whole screen.
Lev's user avatar
  • 947
1 vote
0 answers
125 views

How can I get ImageRender to take a photo from a camera and save it to a file?

I would like to create a Python script that is called when I press some key while running in the Blender Game Engine, which takes a photo from a specific camera, and then saves this photo to a file (...
Philipp Gühring's user avatar
4 votes
1 answer
1k views

take screenshots programmatically in bge?

...
29374819's user avatar
  • 331
4 votes
5 answers
1k views

Split Screen Resolution Problem (Game Engine)

So when I run the game with the Embedded Player the split screen works but when I run it Standalone the size of the camera is changed. Embedded: Standalone: I would like to make the standalone look ...
hehehehahha's user avatar
2 votes
1 answer
464 views

Resetting camera after camera collision (BGE)

When my camera collides with my wall, after I move the camera back to where it isn't colliding with anything, the camera stays fixed very closely to the player. What can I add to the code below to fix ...
Michael Akers's user avatar

15 30 50 per page