Vector3 direction - but without the distance returned

Hi again. I got a small issue with handling a Vector. I am aware that i can get the direction from one object to another with ease…

var targetDistance : Vector3 = target.transform.position - thisTransform.position;

but my brain is failing me, and i can not figure out how i can get just a simple return of the direction but without the full distance. in other words, i want to know what direction the other object is , but i only want really want to create a Vector that is facing that direction, with a forward looking value of 1 unit, and than i will use a multiplier on top of that to obtain how far forward i wish to project the distance …

Hope i make sense trying to explain, thanks

PS : im betting its just so simple , im to thunderstruck to be seeing it atm O.o

(target.position - transform.position).normalized

vector.Normalize(); returns a scale that you may want.

Haha , thanks guys , i was just punchin that into the ref guide and comin up with results … but you saved me a few more minutes of time, sweet. I knew it was something simple i was overlooking :stuck_out_tongue:

Cheers.

Hey,
I need some help regarding moving the ball to a direction of finger touch, i am using the ball with addforce but is unable to get the correct direction. Any body help me plz.

Regards,