So if I wanted a players position to equal the position of another object exactly except that it’s subtracted by 1 on the z axis, how could I do that?
I know I can achieve what I want by doing this,
player.worldPosition[0] = object.worldPosition[0]
player.worldPosition[1] = object.worldPosition[1]
player.worldPosition[2] = object.worldPosition[2] - 1
But is there any way to condense it into a single action? sorta like this?
player.worldPosition = object.worldPosition - 1.z