Hi.
I’m attempting to make one object move towards another objects Y position.
I have 2 variables.
One called myTransform and one called playerTransform that I set in the start function
and I have this line in the update function.
myTransform.position.y = playerTransform.position.y;
I get an error when writing it. I’m guessing it isn’t possible to write it like this
Does anyone have a solution to this?
Thanks