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:
Dalai Felinto
2012-03-03 02:47:01 +00:00
parent 95bba22af0
commit 1f928833f3
10 changed files with 56 additions and 6 deletions

View File

@@ -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.