- Home /
Restart Point
Hello how are you :)
My problem is this: Ball 1. || 2. || 3. I want to go to point 4 in the (yellow) areas and stay there until the user moves again. I will be very happy if my problem is solved :)
xyzaxis.png
(517.4 kB)
Comment
Answer by SnapDragonFin · Jul 15, 2018 at 10:57 PM
Can you place restart current level triggers?
public void Reload()
{
int scene = SceneManager.GetActiveScene().buildIndex;
SceneManager.LoadScene(scene,
LoadSceneMode.Single);
Time.timeScale = 1;
}
I want the ball to go back to the starting point on the screen and stay there until the user moves
Well, it would stay there until the user moves it on its own, right? Then it's just a matter of setting the balls position equal to the position of the starting point to get it to move? Unless I am misunderstanding.
Your answer
Follow this Question
Related Questions
Collision problem 0 Answers
Bounce when hitting wall 2 Answers
iPhone touch raycasting 1 Answer
need help please! 0 Answers