I'm casting a ray and its hitting the ground, and then I'm instantiating a unit at the collision point but I really want to instantiate it two or three units above the collision point, so how do I get that point?
ray = Camera.main.ScreenPointToRay (Input.mousePosition);
Physics.Raycast (ray, hit, 2500);
midpoint = hit.point;
mymoo = Instantiate(genmover, midpoint, Quaternion.identity);
I tried point.y+1 but that didn't you can't treat a hit.point like a transform.position I guess. maybe how do I break down the components of the hit.point to see it's x, y, and z of the vector3? because that's all it is a vector3.