Blender Git Loki

Git Commits -> Revision 264c8d9

Revision 264c8d9 by Joshua Leung (master)
January 25, 2008, 11:23 (GMT)
== Limit Distance Constraint ==

Added a new constraint, "Limit Distance". This constraint defines a 'virtual sphere' around the target which the owner can be made to stay inside, outside, or on the surface of it.

This constraint is best used when applied using the Ctrl-Alt-C hotkey, as the radius is set correctly that way.
One usage, is to prevent the target of an IK-chain from straying away from the chain. Care should be taken to not use a member of the IK-chain as the target though.

Description of Variables:
* 'Dist' - Radius of virtual sphere
* 'R' - Click on this to recalculate the 'Dist' value (note: like the 'R' button in the StretchTo constraint, this is currently buggy)
' Mode' - This menu gives different options for how the limiting sphere should act. The mode names are self explanatory.
* 'Soft' and 'SoftDistance' - currently not functional (so settings are hidden). These are used to define a smaller radius around the sphere of influence where a non-linear relationship between input and resulting locations occurs to prevent the owner 'crashing' into the sphere.

Commit Details:

Full Hash: 264c8d94f93c97e3c9fc21998e8565035130db5a
SVN Revision: 13400
Parent Commit: ee19d9a
Lines Changed: +219, -12

7 Modified Paths:

/source/blender/blenkernel/intern/constraint.c (+114, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+14, -0) (Diff)
/source/blender/include/butspace.h (+1, -1) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+24, -1) (Diff)
/source/blender/src/buttons_object.c (+57, -0) (Diff)
/source/blender/src/editconstraint.c (+8, -7) (Diff)
/source/blender/src/editipo.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021