Hi
I want to define a position which is 10 units along an object's x-axis. The following sets the position along the world x-axis, how to I modify it for the object axis?
var newPosition : Vector3;
newPosition = myCube.transform.position;
newPosition.x += 10.0;
(I'm not trying to move myCube, I want to instantiate something at the new position)
Thanks
Steve