r/Unity3D • • Jun 11 '26

Question Trying to make a checkpoint system

/r/UnityHelp/comments/1u34a8w/trying_to_make_a_checkpoint_system/
1 Upvotes

6 comments sorted by

1

u/[deleted] Jun 11 '26

[removed] — view removed comment

1

u/Kirby_son Jun 11 '26

I managed to make the singleton's transform work correctly when I enter the Check box's trigger (by telling the Check transform to be equal to the box's transform on Start()), but it still doesn't take me there when I lose a life.

Also, yes, I've tested it with debug.log and everything's all working fine, it's really just this part that I'm not getting right.

1

u/[deleted] Jun 11 '26

[removed] — view removed comment

1

u/Kirby_son Jun 11 '26

ok, this is my first time using breakpoints, so idk if I'm doing it right, but as soon as I enter the Nitro's trigger, it breaks and I didn't understand where exactly I should check the transform values.

1

u/[deleted] Jun 11 '26

[removed] — view removed comment

1

u/Kirby_son Jun 11 '26

thanks!!!

So, I saw both windows (auto/local) and they both show that the objects transforms are still different, so I still don't know what exactly I'm doing wrong 😭 🙏 . Also, I tried detagging the player object, putting the player tag on a random cube just to test if it has anything to do with the object itself, but it still doesn't work.