Welcome to mirror list, hosted at ThFree Co, Russian Federation.

bge.types.SCA_IController.rst « bge_types « rst « python_api « doc - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4532070c814f0f38665de5f4de89d56f12bfdad1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
SCA_IController(SCA_ILogicBrick)
================================

base class --- :class:`SCA_ILogicBrick`

.. class:: SCA_IController(SCA_ILogicBrick)

   Base class for all controller logic bricks.

   .. attribute:: state

      The controllers state bitmask. This can be used with the GameObject's state to test if the controller is active.
      
      :type: int bitmask

   .. attribute:: sensors

      A list of sensors linked to this controller.
      
      :type: sequence supporting index/string lookups and iteration.

      .. note::

         The sensors are not necessarily owned by the same object.

      .. note::
         
         When objects are instanced in dupligroups links may be lost from objects outside the dupligroup.

   .. attribute:: actuators

      A list of actuators linked to this controller.
      
      :type: sequence supporting index/string lookups and iteration.

      .. note::

         The sensors are not necessarily owned by the same object.

      .. note::
         
         When objects are instanced in dupligroups links may be lost from objects outside the dupligroup.

   .. attribute:: useHighPriority

      When set the controller executes always before all other controllers that dont have this set.
      
      :type: boolen

      .. note::
         
         Order of execution between high priority controllers is not guaranteed.