option for the Armature Actuator to change the influence of a bone constraint.
Also adds DampedTrackTo to the list of supported constraints in the BGE Test file: http://www.pasteall.org/blend/11715 Patch developed as part of a project to NF-UBC Nereus Program. Development time 'sponsored' by the project. www.nereusprogram.org
This commit is contained in:
@@ -4518,10 +4518,16 @@ Game Types (bge.types)
|
||||
|
||||
.. data:: KX_ACT_ARMATURE_SETWEIGHT
|
||||
|
||||
Change weight of (only for IK constraint).
|
||||
Change weight of constraint (IK only).
|
||||
|
||||
:value: 4
|
||||
|
||||
.. data:: KX_ACT_ARMATURE_SETINFLUENCE
|
||||
|
||||
Change influence of constraint.
|
||||
|
||||
:value: 5
|
||||
|
||||
.. attribute:: type
|
||||
|
||||
The type of action that the actuator executes when it is active.
|
||||
@@ -4566,6 +4572,12 @@ Game Types (bge.types)
|
||||
|
||||
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.
|
||||
|
||||
.. class:: KX_ArmatureSensor(SCA_ISensor)
|
||||
|
||||
Armature sensor detect conditions on armatures.
|
||||
|
||||
Reference in New Issue
Block a user