RE: 3DX?
cut off the extra foam in the way of the motor and use two small zip-ties to secure the motor to the mounting stick. Now why would you want to use a direct drive motor on a 3dx? With a flat plane wing the only thing that makes it fly is thrust and a gearbox and big prop are the best way to get it.