using dbpro.
In my program i would like to be able to move an object an place it in somthing using the mouse however i am having trouble getting it to stay on the mouse.
here is an exaple of what i have but it is not working properly.
make object cube 1,2
position camera 0,0,0,-30
do
position object 1,object position x(1)+mousemovex(),object position y(1)+-mousemovey(),0
loop
i am not very good at math. i have dride dividing the distance. and th object will succesfully move at the same speed as the mouse but only after the mousemove reaches a certain high number
A child's dream never dies.