Hi Everyone!
We have been pounding our heads around trying to get our Player Object to move in 3D space when you tap on the screen (iOS). We have a camera that tracks you (keeping the player centered) using an orthographic camera. We’ve been trying Raycasting, ScreenPointToWorld, etc, with not much luck. 
Made a video to better describe visually what we are trying to do:
Sorry if I stumble around in the video. After two days my head is a little fried from trying to figure this out! Any advice to get us going in the right direction again would be incredibly helpful! Thank you!
Lylek
2
Raycast from cursor into 3d space:
var hit : RaycastHit;
var newLocation : Vector3;
var distanceBetween : float;
function Update () {
if(Input.GetMouseButtonDown(0)) {
var ray : Ray = Camera.main.ScreenPointToRay(Input.mousePosition);
if(Physics.Raycast(ray, hit, 100)) {
newLocation = hit.point;
if(newLocation != null) {
distanceBetween = Vector3.Distance(transform.position, newLocation);
}
}
}
if(newLocation != null) {
if(distanceBetween > 0.1) {
transform.position = Vector3.Lerp(transform.position, newLocation, 2 * Time.deltaTime);
}
}
}
Put the script on the player. This will move the player wherever you click, as long as the raycast hits something.
Edit: Updated for Lerping. Also, I see this would only be best if the player’s focus point was on the bottom, else the object will go through the ground… may need adjustments.
Ive not tested my idea, so sorry if it will not work, but as far as I know, the ScreenPointToWorld gets the world cords of the point at the plane of camera (not at your "floor" plane). So you should use ScreenPointToWorld to get this "base" point, and RayCast from it to the cameras transform.forward direction. And then you should use the hitPoint (not transform.position of hitted object) to get the target of move.