I finally decided to dig into the new Python api and was stunned.The results I’m getting after a weekend’s messing about are amazing. Operators rule. I’m making good progress with my script, but have hit a small hitch…
There appears to be no way of setting rigid body joint limits in Blender 2.54.
This was possible in 2.49c, but appears to be unimplemented in 2.54.
A bit of digging lead me to the properties_object_constraint.py file in the ui directory. (This file defines the layout of the properties window when in object mode and have the constraints button pressed… I think…) On line 554 in the RIGID_BODY_JOINT definition it says:
#Missing: Limit arrays (not wrapped in RNA yet)
I take it this is refering to the limits that I was looking for.
Does anyone know if this is an oversight or maybe something not considered important enough at this stage of the development cycle? Basically… Does anyone know if there is a likelihood that this will be reimplemented in later releases?