Answer by Lucanio
The problem is you're using currentX as a starting position each time the Lerp is called, but the starting position should remain the same. This is what it should be instead: float startTime =...
View ArticleAnswer by Lucanio
This is how you change scenes. Go to File>Build Settings and drag your scenes in there. Note the numbers that are listed with each scene. To load them use `Application.LoadLevel(0);` in a script,...
View ArticleAnswer by Lucanio
You missed a semicolon. Application.LoadLevel ("Level1") should be Application.LoadLevel ("Level1"); When Unity gives you an error message like that, double click on it and it will point you to...
View ArticleAnswer by Lucanio
Use a coroutine to increase forwardSpeed. void Start(){ StartCoroutine(IncreaseForwardSpeed); } IEnumerator IncreaseForwardSpeed(){ forwardSpeed += forwardSpeed; yield return null; } Time.deltaTime is...
View ArticleAnswer by Lucanio
Do you mean you want the music to pause on certain scenes, but then pick back up at the same place in other scenes. Yes, yo can do that. To get the loaded level use `Application.loadedLevel` or...
View ArticleAnswer by Lucanio
You need to call treeStumpCollider.ColliderState() after changing treeStumpCollider.stumpColliderEnable
View ArticleAnswer by Lucanio
If these are games in the unity editor, what is the script that is governing the Input to the players movement? If you mean standalone games, do you have a controller attached to your compute? Have you...
View ArticleAnswer by Lucanio
You don't need to do this. Instead, you could goahead and add the script to the camera and uncheck it. Then when your button is pressed, call mouseOrbit.enabled = true; You'll need to get a reference...
View Article