myPhallicObject setVectorUp [(sin theta)*(sin heading), (sin theta)*(cos heading), cos theta]
Where theta is the angle from the vertical and heading is whatever you setDired the missile to. Of course you could replace heading with (getDir myPhallicObject)