Blender Git Loki

Git Commits -> Revision 655f9a6

Revision 655f9a6 by Joshua Leung (master)
April 7, 2007, 03:32 (GMT)
== Clamp-To Constraint (was Patch #4818) ==

This (new) constraint limits the location of an object/bone to the range of locations
on a given curve. It works by comparing the location of the owner on one axis, to
the extents of the curve's bounding-box on the same axis, to find the location on
the curve.

Usage Notes:
* 'Ob:' field must point to a valid curve object
* This curve should have 'Path' turned on in order for this constraint to work. You
don't really need to do this as it will be taken care of by the code.
* 'Auto' toggle automically determines which axis should be used for the distance estimations/calculations. It is the default option, but may not work that well for
some cases.
* X/Y/Z toggles can be used to select the axis to use for these calculations. Try
to choose the axis along which the curve stretches out for most.

Python Notes:
Python API access for this constraint is not included in this commit. Will be coming
soon.

Commit Details:

Full Hash: 655f9a61dee5a308a93c2ac83cba31dbfe0cb062
SVN Revision: 10478
Parent Commit: 999e405
Lines Changed: +227, -7

7 Modified Paths:

/source/blender/blenkernel/intern/constraint.c (+126, -5) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -0) (Diff)
/source/blender/include/butspace.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+13, -0) (Diff)
/source/blender/src/buttons_object.c (+35, -0) (Diff)
/source/blender/src/editconstraint.c (+36, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021