3D dynamics