Inma,
Changing the pivot point of a model inside Wonderland is a real problem. I never figured out how to do it. There are several options to pivot an object, a door in this case:
Simulate having an edge pivot by using a combination of rotates and translates that make the door move correctly. This is hugely complicated to do and in my opinion, not worth the trouble.
Create a model of a door where the door is half of the actual model with the other half transparent. Then, when you rotate the model about the center, it will appear to rotate about an edge.
Wait for a bit until I get the collada loader modifications in place. These changes will allow for the creation of a model in Maya and exportation with ColladaMaya that has keyframe animations to be animated in Wonderland using the keyframe animations. The current version I am working on uses rotate and translate animations. The animation information gets loaded into the OWL scene graph. I have a module that I am working on that will allow for loading and animating nodes in a model that I will put in the module warehouse.
Morris