03-31-2014, 09:31 PM
Hello,
I am working on a game that uses the circle spline. I have my object going around it as I would like but when the player loses and restarts I need to reset the position of the gameobject I have attached to the spline. I don't want to reset it by resetting the scene everytime as it isn't needed for the rest of the game.
I am unsure what variables to use/call in order to get this done. I tried using the actual transform of the object but that just does not work. Do I need to change the cached variables in order to reset it by the press of a button?
Thanks.
I am working on a game that uses the circle spline. I have my object going around it as I would like but when the player loses and restarts I need to reset the position of the gameobject I have attached to the spline. I don't want to reset it by resetting the scene everytime as it isn't needed for the rest of the game.
I am unsure what variables to use/call in order to get this done. I tried using the actual transform of the object but that just does not work. Do I need to change the cached variables in order to reset it by the press of a button?
Thanks.