Dropped 2D/ 3D type parameterization. 2D is treated just as a special case of 3D for now.
Tweaked order of updates in physics to make constraints have the last word.