Doc:2.6/Manual/Game Engine/Logic/Object type

提供: wiki
< Doc:2.6‎ | Manual‎ | Game Engine‎ | Logic
2011年12月16日 (金) 21:49時点におけるwiki>Mindrones botによる版 (Bot: Fixing redirects; cosmetic changes)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Object types

Objects type menu

You can have several physics types for objects in the Game Engine. The Physics Type menu is where you define all properties associated with active objects. Active objects are evaluated by the physics engine and treated as more than simple world objects.

Settings

The Physics type for each object can be set in the Physics panel in the Properties panel.

You can choose these object types. Their unique settings are described in these pages:

Collision Bounds

Each Physics type has settings for collision bounds. The Blender Game Engine has a number of ways of dealing with the shapes of objects. The reason that the game engine avoids highly accurate, per face object collisions, is due to the high level of processing power that it would demand. It is often faster, during game play, to uses a simpler system such as a box or a sphere for an object that’s shape is very similar.

The bounds are calculated from the object’s center, which is designated by the pink dot normally at the center of your object. It is not uncommon or useful to move this center to a more convenient location. This can be done in the Editing context (F9) and choosing one of the 3 options that focus around Center movement (see Object Centers for more info).

Convex Hull and static Triangle Mesh are designed for uses with World objects floors, walls, trees, etc.

Blender has no generic way of interacting with hollow objects. An example, which would be difficult to create, would be a cup to shake dice in.


Object physics in case of no active World

Objects physics with no active world

If you don't have an active World in the Shading Context (Buttons window, F5), instead of the Object type panel you will just see a button named "Physics": enabling it, you will be able to click on more buttons to obtain a panel as in Objects physics with no active world. In this case, the available options are documented here.

In general, you need to create a world because it also sets up a physics environment.