AFAIK all physics engines only apply torque through motorized joints, and a maximum velocity. This works the same way for ODE and PhysX. More complex control can be done by the application I think, by adjusting the torque dependent on the rotation speed.