Hy people, again,
Well, that’s it, i’m really lost, and i can’t find an exit. Sure the problem it’s mine, and not with unity.
So, i decide to restart everything… and i’m implore your help friends…
-
The “coder”
Well…i’m not coder… i’m a little bit skilled in programing in flash, and well with the dot sintax, flash objects and stuff. -
The Project
Here we’re doing an architectural visualization, and we had some sucess with the prefab FPS, a little modificated. This part of the job is working.
Now, we need to do some “hot points” on the build. We’ll create one interface, so you can click, ando go to the point listed.
Based on my poor knowledge in unity, i’ve plan to modified the “smooth follow” script (that one from tutorial), to work with this ideia. So i’ve create one empty object with the modified script, and trigger this with a MouseDown from a GUI Texture.
The idea was to on each click, we “send” to the function on the empty a variable name, then, we start the script to force the camera to navigate to that point, and as son it’s stop, the user can move across the build again.
Ok, but some things aren’t working
The GUI Texture onMouseDown only works one time.
I can force the FPS script to stop (enable = false), but i cant make it come back to life… (tried _camera.GetComponent(“FPS Meu”).enabled = true; _camera.GetComponent(“FPS Meu”).Update()).
The FPS just jump to the point… it don’t navigate across the build until that.
Obviously some problems are about understand unity, and how it work, and is because this i’m here asking you to help me to find a way to make this thing working. It’s this way the best way to do that? I can do some of those things i think i can ?
Thanks for all of you for patience and support… really.
Again, if i’m talking like the caveman’s, please forgive my english…
Thanks a lot