explain what you want to create, please...
If you want to move an object by moving the mouse, your code works. if you always want to place an object below the mouse cursor, use c_trace and mouse_pos3d, if you want to move an object by the mouse_speed, use my code and use mouse_speed.x/y *accelerator_variable*time_step.
btw.. the mouse_ent in your code makes no sense, cause you want to move the Argumented Entity, and not the mouse_ent ^^
Last edited by Espér; 05/30/12 10:42.