I have an arm made up of a series of hinge joints. I'd like to reset the level, but maintain the current position of the arm, so I call DontDestroyOnLoad() on my arm object and use LoadLevel() to reload the level.
However, after reloading the level, the current orientation of the hinge joints becomes the "new zero" degrees. For instance, if the elbow was oriented at 45 degrees before LoadLevel(), that orientation is now considered 0 degrees. Is there any way to prevent this from happening?
Thanks.