Book Image

Blender Game Engine: Beginner's Guide

Book Image

Blender Game Engine: Beginner's Guide

Overview of this book

Blender Game Engine is the part of the Blender 3D editor used to create actual 3D video games. It's the ideal entry level game development environment because you don't even need to learn to program. Create a complete game using Bender's innovative logic bricks."Blender Game Engine: Beginner's Guide" is the ideal introduction to game development. Using only logic bricks, the reader will create a complete game in Blender. By the end of the book the reader will be able to use their skills to create their own 3D games.
Table of Contents (11 chapters)
10
Index

Chapter 4. Collisions

The most exciting part when creating a game is when your brother, or perhaps a friend, is able to move the character in your game through the entire stage. However, this interactivity is not complete if the character does not respond to certain automatic responses, called collisions.

Collisions are the most important part of our character's interaction with the universe in which it moves. This collision between the character and everything around it is important in the Blender Game Engine (BGE). There are Static collisions that set up by default, but if you need a response from the object and not from the character, you must use a type of collision called Dynamic physics, in BGE. We have a virtual world where we cannot move through walls, mountains, and objects (such as blocks, doors, and in our case, the icebergs). It is logical that any wall will stop the adventure of our character, which will need to change the direction if it needs to move on. But...