diff options
author | Ton Roosendaal <ton@blender.org> | 2005-02-11 15:42:02 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-02-11 15:42:02 +0300 |
commit | 39959b4f212664c492d068e798e1dfab8d11c571 (patch) | |
tree | 8227ab1615f7e6e14d1ee3f53075ff69dd815105 /source/blender/makesdna/DNA_curve_types.h | |
parent | 34977b8937e7e990b35d3795dc35740e8991fb9c (diff) |
Little warming-up getting-feet-wet coding project. :)
Much wanted feature, to have paths with children having fixed distance
offsets from each other, for example to animate a train with wagons.
Solved it with Path option (Editing buttons curve) "PathDist Offs" which
interprets time-offsets of children as blender-unit offsets. The entire
animation system still works, but offsets are calculated based on distance,
even with a CurvePath without motion (speed curve horizontal).
http://download.blender.org/demo/test/pathdist.blend
Thanks to Bassam for kicking my ass!
Diffstat (limited to 'source/blender/makesdna/DNA_curve_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_curve_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h index 69ee9851cd7..0713f770dc4 100644 --- a/source/blender/makesdna/DNA_curve_types.h +++ b/source/blender/makesdna/DNA_curve_types.h @@ -176,6 +176,7 @@ typedef struct IpoCurve { #define CU_UV_ORCO 32 #define CU_NOPUNOFLIP 64 #define CU_STRETCH 128 +#define CU_OFFS_PATHDIST 256 /* spacemode */ #define CU_LEFT 0 |