Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [game-engine]

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

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 ...
9
votes
1answer
8k 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....
4
votes
1answer
615 views

Seeing through objects in Game engine

I used sculpting on a plane, and things looks great. However, when I press P to play, the whole ground become a mess. I can see through it in various places, and there are also nasty looking black ...
63
votes
2answers
20k 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?
6
votes
4answers
2k views

How do I make a weapon shoot at the center of the screen?

I've been researching this for weeks and only found bad results. I think its time for a good answer. I have a rocket launcher, so I can't "fake" the bullet. There is no way to fake a rocket. I need it ...
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 ...
12
votes
1answer
8k 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, ...
22
votes
4answers
15k 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 ...
5
votes
2answers
1k views

How can I prevent a pause at the end of animation loop to have fluid motion.

At the end of my animation, the animation pauses a bit then loops again, how can I stop the slow pause, and let the loop work fluently?
2
votes
1answer
1k views

Near/radar/ray/collision sensors refuse to work

None of the physics sensors in my game work, I'm trying to create an AI man that chases after a player, but for whatever reason, he just won't sense the player, I've tried copying and pasting the ...
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 ...
3
votes
1answer
4k views

How can a path animation be used as an action in the game engine?

I animated a rollercoaster using a Bezier Curve and a Follow Path Constraint affecting the vehicle. Then I tried to use the automatically created action in the game engine but the Action Actuator has ...
3
votes
3answers
30k views

How can I do a one-time Initialization?

In the following script I want to perform the loading of a DLL only once when initializing ...
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.)
8
votes
2answers
10k 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?
6
votes
3answers
2k views

Can gravity be disabled for a single object in the BGE?

I created a scene with my camera parented to a player object and a few bouncing balls. I want the player to stand still (in space) unless moved by user interaction and interact by the balls when hit. ...
4
votes
1answer
4k views

How to make a FPS-like camera in BGE

I would like to make a camera like in most First Person Shooters - similar to GTA. This would mean that the view angle depends on the position of the mouse and the character walks forward, along the ...
6
votes
1answer
335 views

Clamp velocity along local axis

In the attached Blend File, I have a representation of a airplane/jet fighter (cube scaled at one end to indicate direction of flight). I am using torque to steer, and adding Linear Velocity along a ...
14
votes
3answers
4k 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.
5
votes
2answers
7k views

How can I create a mirror material for the game engine?

A google search found this demo of a mirror in the BGE Video:Mirror Made in Blender Game Engine but I can't find out how to setup the material. Unlike in the BI renderer the option Mirror isn't ...
4
votes
2answers
1k views

How can I make an object render with a wireframe in the game engine?

I want it to look like the top image when I press P, so it has those lines around each face. Like this: Not like this:
3
votes
1answer
5k views

Can I use cycles renderer for a game?

I'm currently working on a project with Unity 3D, and my plan is to design everything with Blender. But I didn't know until today that Cycles renderer is meant for animations and HD images. Can I use ...
3
votes
1answer
3k views

How do I get constraints to work in game engine?

In the game engine, my object needs to point at a target. How can I get it to aim at something that is constantly moving in unpredictable patterns? The constraints actuator does not have a "track to" ...
2
votes
4answers
1k views

Blender Game Engine logics sensors and python script

I'm trying to build a simple user interface in Blender Game Engine. 2 buttons (launch and quit). Each button got a "Mousse Over" and "Left Button" sensors connect to a one Python controller. Here ...
1
vote
1answer
312 views

Blender game controller using arduino not working properly

I have started learning blender game engine and arduino. Now I am trying to implement whatever I have learned in this simple game where I press a push button connected to arduino and Cube in blender ...
0
votes
1answer
526 views

Make modifiers update in the game engine

I am trying to make a boat work in the game engine, and I have a Boolean modifier on the water cutting a spot in the water plane for the boat. The problem is, that when the boat moves, and the mesh ...
8
votes
1answer
707 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 ...
6
votes
1answer
2k 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 ...
5
votes
2answers
1k views

Change the window icon on an executable

I am wondering if and how to add your own picture here.
4
votes
2answers
5k views

How to add an object at a specific posistion in Blender Game Engine

I plan on building a game where enemies are randomly generated throughout the game. I plan on using an empty to run a Python script where it will add a predefined object at a given position (using ...
2
votes
2answers
213 views

How would I go about creating a 3D MMORPG Mouse Look?

How would I go about creating a 3D MMORPG Mouse Look? I have created a 3D Space Rpg that is almost finished with success so far. However, I didn't have a clue, how I would attempt to make a Mouse Look ...
0
votes
1answer
585 views

How to start second action after check that first one is done in bge?

Here I want help of you people. here I want to start second action animation but before this i want to check that first action is done. same this way i want to do third action before that i want to ...
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 ...
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?
6
votes
3answers
881 views

Record Animation In BGE

I am having trouble getting the Record Animation setting to work in the BGE. Is it possible to record animated characters that are controlled using BGE's logic bricks with some script? In my script I ...
3
votes
2answers
4k views

How to create a realistic jump in bge

I'm trying to create a FPS game in blender game engine. When I do KeyBoard[Spacebar] sensor and hook it up to a simple motion of z +1 or something like that, the guys pops up really fast as if he ...
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
3
votes
2answers
2k views

How to Mix Face Textures Across UV Edges

TLDR: I'm trying to figure out the best method of mixing textures across UV edges in a dynamically textured mesh. For instance, if you have a plane with 4 faces and each one has a non-seamless texture ...
3
votes
1answer
1k views

How to make a rope in the BGE?

I'm pretty sure this has been asked before, but for the life-o'-me I couldn't find it. How would one setup the physics for rope in Blender Game Engine? I tried soft-body; didn't work Incremented/...
6
votes
3answers
7k views

How to get the distance between two objects in the game engine?

So far I could only find the method to get the current position of the objects. I think there is a method that returns the distance between them.
5
votes
1answer
2k views

What is the difference between module and script execution methods in the Game Engine?

There are two options when using a sensor to run a python script (which also makes me wonder why the python option is a Controller and not a Actuator, but I guess that's a separate question). As far ...
1
vote
1answer
1k views

How to use Blenders GUI? [closed]

I was making a game with blender like creating buttons and stuff but um... I don't know how to use Blenders API, or GUI. I wanted to create functioning buttons and creating user input on the screen ...
5
votes
1answer
3k views

How to set up a orbiting camera with zoom in the BGE?

How can I zoom in and out using the mouse wheel in the BGE? And press the middle button to go move around the character? I want the camera to be parent to the character so that it will follow it.
5
votes
2answers
2k 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
1answer
634 views

A different kind of mouselook script?

Is there a mouselook script that's exactly the same as the classic one except it moves left and right, not up and down. If there isn't one then can you show a property hook script that enables/...
3
votes
2answers
4k views

BGE everything white in playmode

When I press P to play everything shows up white in the BGE. Shading is set to GLSL, and the objects are UV mapped and textured. It seems that vertex paint is overriding the material for the object ...
1
vote
1answer
835 views

How to use playAction() on libloaded objects in BGE?

I'm loading the file like this: logic.LibLoad(logic.expandPath('//car.blend'), 'Scene', verbose=True, load_actions=True) And I get my object (without using ...
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?
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 ...
4
votes
2answers
2k views

Blender armature control in real time?

I'm new to blender and python I need to control armature in blender game engine via a serial data comes from arduino. I'm useing this code but it does not work. ...