blender/release/scripts
Joshua Leung ae3cf92491 New Track To Constraint: "Damped"
This is effectively a C-port of Nathan Vegdahl's "No Twist" TrackTo PyConstraint, and has been added as a separate type of constraint to be consistent with the existing constraints (Locked Track, and Track To). 

In general, this works considerably better than the existing "Track To" constraint, since it works by determining the smallest rotation necessary to get the current orientation of the owner to an orientation which would be tracking the target. It is also a much more straightforward approach than the weird old method the old Track To uses.

I've made a few tweaks to the code to deal with the (hopefully rare) cases where the target and the constrained are coincident. These don't appear to cause too much trouble in general.

TODO:
- Probably the naming of the constraints will change, to better convey their purposes. Naming suggestions welcome.
2009-10-30 06:33:40 +00:00
..
io Script templates, including game logic scripts from 2.4x and new operator template. 2009-10-29 11:26:44 +00:00
modules replacement for my own autocomplete module by stani 2009-10-29 20:55:45 +00:00
templates Script templates, including game logic scripts from 2.4x and new operator template. 2009-10-29 11:26:44 +00:00
ui New Track To Constraint: "Damped" 2009-10-30 06:33:40 +00:00