I forgot to mention that phent_setdamping(me,100,100); causes the ship to stop moving or rotating unless a force acts on it. If you use values lower than 100, the ships will take some time to slow down, and if you use 0, then the entity will keep going on forever until it collides with something else, or you apply a force to it.