hello, I have a 2D game that I want it to have a CheckPoint function where when a player enters the checkpoint(this works)
if(col.CompareTag(“Checkpoint”)
{
Debug.Log("CheckPoint");
}
it then moves the SpawnPoint to where the CheckPoint is. which is the position of the CheckPoint which is(494.21, -8.413, 0)
To make things simpler and understandable I just want to transform the spawnpoint with that position (494.21, -8.413, 0) ill take care of the if statements.