Hi,
I'm trying to get an object to follor the mouse cursor on the screen and have been looking around the forums for some help. I've come across one that people seem to be using but I can't seem to make head or tail of it. Could someone shed some light on or elaborate it.
` In your main loop / function that is called from there
o = pick object(mouseX(), mouseY(), obj.ground, obj.ground)
x# = camera position x(0) + get pick vector x()
y# = camera position y(0) + get pick vector y()
z# = camera position z(0) + get pick vector z()
` For the Y-coordinate, you can also use the height of the ground
` object at the particular (x, y) position
position object obj.current, x#, y#, z#