From f996607632e08b7545f61b36ebc651c0ecff75ae Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Sun, 4 Nov 2007 17:14:39 +0000 Subject: New driver option for the poor suffering riggers: "Rotation Difference" This option, for Bones, allows the angle between two Bones to be the driver for another Ipo channel. This angle now is hardcoded based on the Bone-space orientation (without parenting rotation). Thanks to nathan for poking and test! --- source/blender/makesdna/DNA_ipo_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna/DNA_ipo_types.h') diff --git a/source/blender/makesdna/DNA_ipo_types.h b/source/blender/makesdna/DNA_ipo_types.h index 57f44e22334..1fca73b576c 100644 --- a/source/blender/makesdna/DNA_ipo_types.h +++ b/source/blender/makesdna/DNA_ipo_types.h @@ -108,6 +108,8 @@ typedef short IPO_Channel; #define OB_PD_RDAMP 28 #define OB_PD_PERM 29 +/* exception: driver channel, for bone driver only */ +#define OB_ROT_DIFF 100 /* ******************** */ -- cgit v1.2.3