Hi,
I have the script:
function OnTriggerEnter (other : Collider) {
transform.position.x = -610;
}
So that when an object1 hits object2 (which is the one with the script) object2 moves to “-610” on the x axis.
But what I want is object1 to move instead. How can I do this?
Thanks,
Stuart