I’m using a position constraint to keep my camera at my player, and whenever my player gets destroyed, I want it to stay in the location that it currently is, but instead, whenever my player object gets destroyed, my camera defaults back to the location 0X, 0Y. Anyone know how to fix this?
I am not sure you should be calling Destroy on your character. It seems like an invitation for GC spikes. Also why would you need a constraint just parent it to your character and it will do exactly the same thing.
… that said.
Just remove the constraint before you destroy the character