Answer by hellaeon
Sounds like you have the 2 scrips on the same object, and so rightfully expect to access it. However you are missing the scope! You need to use [GetComponent][1] in the local context. Lets say you have...
View ArticleAnswer by hellaeon
Hi Kadrasko, Im not sure of the example you gave but gizmos can be used to show paths or points in the editor for some items in your script. For example with waypoints you draw lines between some given...
View ArticleAnswer by hellaeon
Without seeing your code, try using the audio method [play one shot][1] Does that help? [1]: http://docs.unity3d.com/Documentation/ScriptReference/AudioSource.PlayOneShot.html
View ArticleAnswer by hellaeon
Hi frosstt, try using [GetKeyUp][1] which will register your f keyboard press after you release it, and without testing your code, this is going to make your camera spin for 3 seconds then stop. If you...
View ArticleAnswer by hellaeon
Without testing your code, did you attach an object to the variable 'Bullet' in the editor?, sounds like you didn't. Also should Spawn.Rotation be Spawn.rotation ? Cheers
View ArticleAnswer by hellaeon
You have to remember relative movement. If you yourself are a parent object and your carrying a phone, if you move the phone around it won't change your position in the world if you stand still. With...
View ArticleAnswer by hellaeon
hi polak149, Without looking at your code or seeing an example, try attaching the [character collider][1] instead of a rigidbody. Does this help? [1]:...
View ArticleAnswer by hellaeon
Hi mate, It appears you are using an old version of the editor...did unity ask you to update your script to the newer API? Under the assumption of you using UNITY 5, give this a try let me know how you...
View ArticleAnswer by hellaeon
http://docs.unity3d.com/Manual/class-LineRenderer.html This renders for me. I do notice your 2 vector points are close together. Try specifying two distant points as a test. Also, are you sure your not...
View ArticleAnswer by hellaeon
Ignore my comment, I just realised you need to attach a standalone input module to the canvas
View ArticleAnswer by hellaeon
Mine was using SteamVR with Unity 5.6, I solved it by rolling my project back to 5.5. I am fortunate in that I was not using any specific 5.6 only features. Cheers
View Article
More Pages to Explore .....