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

bge.types.BL_ArmatureActuator.rst « bge_types « rst « python_api « doc - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d60782dde32c219eff628753bcb82adf1be048dc (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
53
54
55
56
57
58
BL_ArmatureActuator(SCA_IActuator)
==================================

base class --- :class:`SCA_IActuator`

.. class:: BL_ArmatureActuator(SCA_IActuator)

   Armature Actuators change constraint condition on armatures.

   .. attribute:: type

      The type of action that the actuator executes when it is active.

      Can be one of :ref:`these constants <armatureactuator-constants-type>`

      :type: integer

   .. attribute:: constraint

      The constraint object this actuator is controlling.

      :type: :class:`BL_ArmatureConstraint`

   .. attribute:: target

      The object that this actuator will set as primary target to the constraint it controls.

      :type: :class:`KX_GameObject`

   .. attribute:: subtarget

      The object that this actuator will set as secondary target to the constraint it controls.

      :type: :class:`KX_GameObject`.
      
      .. note::
      
         Currently, the only secondary target is the pole target for IK constraint.

   .. attribute:: weight

      The weight this actuator will set on the constraint it controls.

      :type: float.

      .. note::
      
         Currently only the IK constraint has a weight. It must be a value between 0 and 1.

      .. note::
      
         A weight of 0 disables a constraint while still updating constraint runtime values (see :class:`BL_ArmatureConstraint`)

   .. attribute:: influence

      The influence this actuator will set on the constraint it controls.

      :type: float.