Sorry fastlane, I must have missed this post.

Looking at the code I don't see why velocity should still be set. I am deleting all physics parameters associated with the entity, and initalize a brand new one for the second phent_settype call. I still have to double-check that with a script though.