We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [game-engine]

The (BGE) Blender Game Engine (discontinued, blender 2.41 - 2.79) allows you to create interactive 3D applications, game prototypes and simulations.

Filter by
Sorted by
Tagged with
64
votes
2answers
21k views

How do blender units and meters, feet, or yards correlate?

If I'm using blender game engine, how do blender units work in relation to gravity, acceleration, or weight? Is there a rough physical world equivalent?
24
votes
5answers
24k views

What will happen with Blender 2.8 game engine?

Blender has just purged the entire game engine from 2.8. There is no "Game Engine" mode anymore and there isn't even a logic editor. I tried installing a GitHub Blender release with the game engine ...
24
votes
1answer
2k views

What's Wrong with Quaternion Rotation in the Game Engine?

Steps: I created two identical objects, and animated them to rotate 360 degrees. I used euler for the first object and quaternion for the second. In the Viewport they rotate the same, but in the Game ...
19
votes
3answers
6k views

How can I generate camera shake?

I would like to generate camera shake in either a render or in BGE. How can I accomplish this?
19
votes
1answer
1k views

How can I make my gear simulation in the BGE work?

I have the movement and rotation restrained properly, but the simulation is not behaving like it should. both objects are rigid body objects. How can I make my gear simulation work?
16
votes
4answers
2k views

How do you detect collisions with fast objects like bullets?

I am currently trying to make a tank to work in the game engine. I have the body roughly done and am trying to get the gun to work. Just making the barrel create a shell at a high velocity doesn't ...
15
votes
2answers
2k views

How can I make a fluid simulation in game engine

Is there a way to simulate a fluid in the game engine? It doesn't have to be 100% realistic (but not a cycling 2D animation). It just needs to be recognizable as water. Optimally, there should be a ...
15
votes
4answers
915 views

Text objects look slightly differently in viewport and game engine

I have text objects in my scene that I'd like to use in the HUD for a game. When they exist as text objects, I get a different result in a viewport and in game engine once I start playing the game. I ...
14
votes
1answer
2k views

How could I place objects (buildings) on a flat surface in the BGE?

I'm working on an RTS in BGE, and I am not sure how I could make it so you can place buildings on flat surfaces (or unless there is an easier way). I would love to know how to place buildings when you ...
14
votes
3answers
5k views

How to simulate magnetism In Blender?

Is there a way to create magnetism in Blender? Using the physics engine or the game engine, I want to create BuckyBalls (the magnetic toys) within Blender.
13
votes
2answers
11k views

Controlling BGE properties with python script

I would like to know how to change the values of properties added using the "AddGameProperty" option in the game logic UI using python code? I want to write code that changes the 'Property' value in ...
12
votes
2answers
1k views

Making weather effects in the BGE

This type of snowfall looks nice: If that example was made in Blender Internal or Cycles, I'd say particles were used - but particles clearly don't work in the BGE. How can a weather effect such as ...
12
votes
3answers
4k views

Controlling armature through python

I need to control an armature using Python so that I can animate a biped model using data from a text file. I've been using this tutorial and some other sources to try and do so, but I can never see ...
12
votes
1answer
1k views

Applying Dupli-Objects

Is it possible to bake dupliverts into one mesh for the BGE? (I have a large ground landscape that I use as the parent to duplicate trees, and the BGE doesn't support most modifiers.)
12
votes
1answer
9k views

How to render an environment to a Cube Map in Cycles

Usually, when I create environment maps I do it in Cycles. I render out a single equirectangular image, and it's easy. But recently I find myself creating content that needs to work in Blend4Web, ...
11
votes
1answer
1k views

How can I get a bullet-time effect (slow motion) in the BGE?

I'd like to transition from normal speed to slow-motion on certain events, such as a keypress. Is it possible to animate time in the game engine? If so, how?
11
votes
2answers
2k views

How to run scripts in the background of the game engine without freezing or opening new Blender instances on Windows?

The Blender game engine does not move into the next frame if all the active scripts have not yet finished. Say we have an HTTP script in the game. The script retrieves data from a server. I presume ...
11
votes
1answer
2k views

Bullet physics compound shape

I'm trying to to create a compound shape pretty much in the same way I did in my C++ code. Create three shapes (two btCylinderShape, and one ...
11
votes
2answers
738 views

BGE. Is it possible to create transparent plane with blur filter?

17 09 2015 here is blend to test: https://dl.dropboxusercontent.com/s/cwpyem6zve6r2u4/blur5.blend I'm still trying to figure out how to add blur filter to plane to make under plane objects all ...
10
votes
1answer
1k views

Can modifiers be called in the Game Engine?

Can modifiers be called in the Blender Game engine and called using actuators? For example, could the explode modifier be called when you jump on a box? If so, are there some modifiers that work ...
10
votes
2answers
807 views

Game Engine does not conserve momentum

I am trying to setup some physical simulation in the BGE where it would be best if the the total energy of the system is conserved. However, if looks like I can't get the physics engine to keep the ...
10
votes
1answer
1k views

Per-Vertex lighting in GLSL?

How can I achieve per-vertex lighting (like in single/multi-texture shading) in GLSL with all of the other GLSL features (like buffer shadows, texture layers, etc.)? Bonus points if it can be done in ...
9
votes
1answer
953 views

Is it possible to snap objects to faces in the Blender Game Engine?

I recently have been experimenting with X-27's excellent answer on how to place objects dynamically in the BGE. I have been trying to figure out how to do the same thing, only make it possible to snap ...
9
votes
1answer
10k views

How to set render engine in blender?

I'm new to blender. How do you change the render engine in blender 2.7 ? According to this video, the button should be along the top. I've searched google, and the blender documentation with no luck....
9
votes
2answers
579 views

No Rasterizer module

I am trying to go trough a simple Blender tutorial in which I need to use module Rasterizer. Unfortunately my Blender has no such module. As far as I know Blender has its own Python so there should be ...
9
votes
1answer
16k views

Texture appears in render but not in game engine

It renders like this, but when I play the game it has no texture. Why doesn't the texture show up in the game engine? Here is the file: http://filedropper.com/textured
9
votes
2answers
3k views

Why texturing in game engine looks different than in render mode?

I am learning Blender, and at the moment I am trying to create very simple game. The point I am stuck at is texturing problem. I have created a simple maze and added two different materials for floors ...
9
votes
2answers
3k views

Is there a way to use a MIDI controller as a sensor in the Game Engine?

I'd like to use a MIDI enabled device, in this case a mixer with knobs and faders, as a controller for the game engine, to do a live projection and change some parameters in real time. The only ...
9
votes
2answers
361 views

How to implement “air-strafing” in the BGE?

Introduction What exactly is "air-strafing"? Air strafing is a technique in which a player would sync strafe keys and mouse movements when in-air. (For example, if you press the right strafe key, ...
8
votes
2answers
7k views

Animating eye texture in a head mesh

I'm trying to animate a mesh with different eye textures but it's not working. This is a texture made by me to animate but I still couldn't figure out how to do it. I've seen tutorials on the ...
8
votes
3answers
2k views

Why can I see through a box in blender game engine? [duplicate]

I have a problem where I can see through a box in blender game, see picture. This effect changes so that the near side of the "chassis" of the truck is invisible when I rotate the model What can I do ...
8
votes
1answer
3k views

Is it possible to render outlines in BI/Cycles using this technique for the BGE?

I want to achieve this outline effect outside of the game engine for animations, without using freestyle. Is it possible to make this effect work in Cycles or BI?
8
votes
1answer
2k views

Create custom physics for an object with python

Blender has physics options which we can enable for our objects - cloth , fluid etc. Is there a way I can add a custom physical behavior to my objects, where this behavior is modeled as a python ...
8
votes
1answer
728 views

Making an Interface in blender game engine

I am learning how to make interfaces in the game engine, and I have set up 2 buttons: an exit button and a play button. When one of the buttons receives a left click, it either closes Blender or goes ...
8
votes
2answers
11k views

Change Text Color in Blender Game Engine?

I want to change the color of some text in my game. I've tried adding materials, but whenever I press P to play the game, the text stays the same white color. Any ideas?
8
votes
1answer
4k views

Why is my text pixelated?

Within my game I have some cubes with text which render fine. In addition to the cubes I want to display some static text, e.g. the current score. The score text has the camera as parent and a copy ...
8
votes
1answer
7k 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 ...
8
votes
2answers
4k views

How to convert Quaternions keyframes to Euler ones in several Actions?

I created a character for a game. It has IK legs. I animated its foot and didn't realize that they were Quaterinon. I made lot of actions with it. Now... as I will make more actions with this ...
7
votes
3answers
7k views

How to change material's color in blender game engine?

I am making a new racing game in BGE. I want my game to have a feature to change car color in-game (car consists of multiple materials, but currently I want to change body material). How do I make ...
7
votes
3answers
2k views

Is there another way besides particles to make fire in the game engine?

I would like to make high pressure jets of flame for a character in the game engine. Here is my question: What would be/is the most time efficient manner to do this in since particles aren't ...
7
votes
4answers
12k 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?
7
votes
1answer
421 views

Why does blender crash when my missile disapears in the BGE?

In the following scene, I have a camera parented to a missile. When the missile collides with any collision mesh, it disappears. The logic setup is pictured below. However, when the missile ...
7
votes
2answers
3k views

Run a script only once in BGE

I have a script that I only need to run once. What I usually do for startup scripts is an Always > Tap Sensor. This python script is being activated by a message sensor with the tap setting enabled. ...
7
votes
2answers
472 views

Put complex shape flat on the table

I have a complex (i.e. irregular, concave) shape obtained by photogrammetry. Now, I'd like to put it flat on a table. How to achieve this? (It ridiculously balances one point now. ) Is there a smart ...
7
votes
1answer
2k views

Using Blender Game Engine for VR 360 tour on Mobile, is it doable?

I'm sorry if my question sounds clumsy, I'm not a seasoned BGE user. I'd like to make a virtual tour for Gear VR and/or Google Cardboard in the BGE that works on Mobile. Is this doable in a user ...
7
votes
1answer
2k views

Rendering from Blender Game

I made a physics simulation in the Blender Game engine. Is there a way to somehow render it as an animation as I normally would with keyframes in Blender internal engine? Or is there a way to convert ...
7
votes
1answer
2k views

Deforming a mesh in realtime (Game Engine)

I have a subdivided plane I want to act as a niveau map. I want to change the niveau extremes' locations and want the map to display the niveau in the form of z=f(x,y) with x,y as the location of a ...
7
votes
1answer
2k views

How to make a walking animation for a character in the BGE on a uneven or steep floor?

I'm looking for a method to make a character walk properly to the angle of the floor. So when he walks up a hill the feet have to be always touching the floor correctly and the walking motion of the ...
7
votes
2answers
381 views

Linking cell fractured fragments together with Rigid Body Constraints set as 'breakable'

I am learning Cell Fracturing following this video. But just like Mr Jee in the comments section, my model breaks as soon as I play the animation in Games Engine. The author of the video talks in his ...
7
votes
2answers
3k views

How to procedurally generate an infinite terrain using perlin noise

For a game I'm making in the blender game engine, I need to generate an infinite terrain - preferably in chunks and unloading when they get too far away. Perlin noise would probably be a good way to ...