|
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?
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.
(comments are locked)
|
|
you can do myHit = hit.point myHit+=Vector3.up*2 thanks! that worked great!
May 04 '10 at 04:00 PM
Jordan Miller 2
(comments are locked)
|
