Thank you for the reply! The link you sent is very useful indeed for my other needs. Though what I want to accomplish here is to move a 3D object to the location of Touch. I set the y
axis to 0
so that it's always level to the scene. And I want to equal the x
and z
of an object to the x
and z
of Touch.
In 2D I used to write var px = event.position.x
and var py = event.position.y
and then under process I would write object.position.x = px
and object.position.y = py
Or I would directly write under input object.position.x = event.position.x
and likewise for y
.
In 3D I have no idea how to accomplish it.