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:
authorTon Roosendaal <ton@blender.org>2005-08-27 16:48:45 +0400
committerTon Roosendaal <ton@blender.org>2005-08-27 16:48:45 +0400
commitac619bace6fe1bd3e330cc11f968f38f5fdac3d1 (patch)
treec3d0454b7cadc4e0fb6ff9c53abc4eb86e507211 /source/blender/makesdna/DNA_constraint_types.h
parenta7f2ebf06c857482a20f1e73f17f7b38a3013756 (diff)
Third and last commit for Brecht's IK work.
Full logs for changes will be added later. Worth to note now; - support for 'tree IK' added - DOF and stiffness per IK bone (in pose only) - Orientation IK support (target rotates -> chain follows) This is still WIP. Buttons might change, button ranges will change, and the way 'IK groups' are working will change. You can play with this, but don't expect saved files to work still by end of this day! :)
Diffstat (limited to 'source/blender/makesdna/DNA_constraint_types.h')
-rw-r--r--source/blender/makesdna/DNA_constraint_types.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 7a1c899edb5..e8895e942d4 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -67,7 +67,9 @@ typedef struct bKinematicConstraint{
short flag; /* Like IK to Tip */
char subtarget[32]; /* String to specify sub-object target */
-
+ char group[32]; /* Name of group */
+ float weight; /* Weight of goal in IK group */
+ float orientweight;
} bKinematicConstraint;
typedef struct bTrackToConstraint{
@@ -212,7 +214,8 @@ typedef struct bStretchToConstraint{
#define PLANE_Z 0x02
/* bKinematicConstraint->flag */
-#define CONSTRAINT_IK_TIP 1
+#define CONSTRAINT_IK_TIP 1
+#define KINEMATIC_ORIENTATION 2
#endif