Answer by diegzumillo
You are probably going to use [dontdestroyonload][1] on the player or some other object. It doesn't have to be the player but some gameobject must survive the level transition with the necessary...
View ArticleAnswer by diegzumillo
You are setting the initial value of *number* to 11. The while loop runs when *number* is snaller than 10, so it doesn't run a single time, thus *number* retains its original value.
View ArticleAnswer by diegzumillo
There are only 10 shapes, so your for loop should be up tp 10, not 20. Also, you want shape[j].dotarray =new Vector3[20]; You already initialized shape in a previous line, inside the for loop you want...
View ArticleAnswer by diegzumillo
To change the parent of something simply change the variable transform.parent. You can assign any gameobject to that variable. Raycasting is one way to go, if you don't have the card/gameobject...
View ArticleAnswer by diegzumillo
It's hard to diagnose by looking at a video and reading description. Physics problems are always tricky. Here's a general rule of thumb: Scale matters. And I noticed you have a loooooong ass tunnel...
View ArticleAnswer by diegzumillo
One way of doing this is to have whatever script is managing these instantiations to keep a list of references of these objects. I don't know if these objects are being generated all at once at startup...
View ArticleAnswer by diegzumillo
Five years later I return to this project with an answer to this question. Just in case someone following is still interested in this or someone googles this question, here's what I found. I don't know...
View Article