Edição de controladores¶
Blender controllers can be set up and edited in the central column of the Logic Panel. This page describes the general column controls, those parameters which are common to all individual controller types, and how different states for the objects in the logic system can be set up and edited.
The image shows a typical controller column with a single controller. At the top of this column, and for sensors and actuators, the column heading includes menus and buttons to control which of all the controllers in the current Game Logic are displayed.
Column Heading¶
The column headings contain controls to set which controllers appear, and the level of detail given, in the controller column. This is very useful for hiding unnecessary controllers so that the necessary ones are visible and easier to reach. Both these can be controlled individually.
Controladores¶
- Mostrar objetos
- Expande todos os objetos.
- Ocultar objetos
- Collapses all objects to just a bar with their name.
- Mostrar controladores
- Expande todos os controladores.
- Ocultar controladores
- Collapses all Controllers to bars with their names.
It is also possible to filter which controllers are viewed using the three heading buttons:
- Selecionados(as)
- Mostra todos os controladores para os objetos selecionados.
- Ativo
- Shows only controllers belonging to the active object.
- Vincular
- Shows controllers which have a link to actuators/sensors.
Object Heading¶
In the column list, controllers are grouped by object. By default, controllers for every selected object appear in the list, but this may be modified by the column heading filters.
- At the head of each displayed object controller list, three entries appear:
- Used States Button Shows which states are in use for the object. Detailed description of the marked panel is given in States.
- Nome
- O nome do objeto.
- Adicionar controlador
- When clicked, a menu appears with the available controller types. Selecting an entry adds a new controller to the object. See Controllers for a list of available controller types.
Partes padrão dos controladores¶
The controller heading is standard to every controller.
- Menu de tipo de controlador
- Especifica o tipo de controlador.
- Nome do controlador
- The name of the controller. This can be selected by the user. It is used to access controllers with Python; it needs to be unique among the selected objects.
- Índice de estado
- Sets the designated state for which this controller will operate.
- Botão de Preferência
- If on, this controller will operate before all other non-preference controllers (useful for start-up scripts).
- Caixa de marcação ativa
- When unchecked the controller is deactivated, no pulses will be sent to the connect actuators.
- Botão
X
- Apaga o sensor.