Animated checkpoint system

Hello everyone. Im working on a game with a few classmates and we are trying to implement a checkpoint system. at this point we have a totem that spins. our goal is to have this totem spin when the player passes it. we also want this to trigger a check point so if the player dies in the level this is were they will respawn if they chose the retry button on the “game over” screen. The guy we have coding has gone through several tutorial with no luck in getting one that function in our game. if it help the game is a 3d platformer.

You can add a control like checkpoint rotation, and set that when player enters the volume, add relative rotation to your mesh after it’s activated. or you can simply add a movement component in which case it will always spin.