Quantcast
Channel: Answers by "Lucanio"
Browsing all 18 articles
Browse latest View live

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 Article



Answer 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 Article

Answer 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 Article

Answer by Lucanio

Have you looked into baked lighting?

View Article

Answer by Lucanio

Use a coroutine to increase forwardSpeed. void Start(){ StartCoroutine(IncreaseForwardSpeed); } IEnumerator IncreaseForwardSpeed(){ forwardSpeed += forwardSpeed; yield return null; } Time.deltaTime is...

View Article


Answer 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 Article

Answer by Lucanio

You need to call treeStumpCollider.ColliderState() after changing treeStumpCollider.stumpColliderEnable

View Article

Answer 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 Article


Answer 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


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 Article

Answer 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 Article

Answer 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 Article

Answer by Lucanio

Have you looked into baked lighting?

View Article


Answer by Lucanio

Use a coroutine to increase forwardSpeed. void Start(){ StartCoroutine(IncreaseForwardSpeed); } IEnumerator IncreaseForwardSpeed(){ forwardSpeed += forwardSpeed; yield return null; } Time.deltaTime is...

View Article

Answer 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 Article


Answer by Lucanio

You need to call treeStumpCollider.ColliderState() after changing treeStumpCollider.stumpColliderEnable

View Article

Answer 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 Article


Answer 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
Browsing all 18 articles
Browse latest View live




Latest Images