O'Reilly logo

Blender 2.49 Scripting by Michel J. Anders

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PyConstraints

Where pydrivers may be used to bypass limitations in the built-in possibilities to drive IPO channels, PyConstraints allow us to conquer difficulties in situations where the built-in constraints will not suffice. For example, it is not possible to restrict the position of an object to the surface of another object with holes in it. The built-in constraints offer ways to limit the position to a location not lower than another object (the floor constraint). But if we would like it to be possible for our object to drop below the surface at locations where there is a hole, we would have to program such a constraint ourselves. As we will see, PyConstraints allow us to do just that.

With all these introductory remarks behind us we can finally ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required