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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2012-03-03 06:47:01 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-03-03 06:47:01 +0400
commit1f928833f3677fa47a10099205c9f7ffa9adfadb (patch)
tree85b6fb8af88d7d459830e7b3fb51f6b84e74cf50 /source/gameengine/Converter/BL_ArmatureActuator.h
parent95bba22af075148f9cbdb5a9b1ef41aeff1f560f (diff)
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
Diffstat (limited to 'source/gameengine/Converter/BL_ArmatureActuator.h')
-rw-r--r--source/gameengine/Converter/BL_ArmatureActuator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/Converter/BL_ArmatureActuator.h b/source/gameengine/Converter/BL_ArmatureActuator.h
index 761d429f784..638640c27ce 100644
--- a/source/gameengine/Converter/BL_ArmatureActuator.h
+++ b/source/gameengine/Converter/BL_ArmatureActuator.h
@@ -54,7 +54,8 @@ public:
const char *constraintname,
KX_GameObject* targetobj,
KX_GameObject* subtargetobj,
- float weight);
+ float weight,
+ float influence);
virtual ~BL_ArmatureActuator();
@@ -88,6 +89,7 @@ private:
STR_String m_posechannel;
STR_String m_constraintname;
float m_weight;
+ float m_influence;
int m_type;
};