Unity Webplayer Issues
the content was stopped because a fatal content error has been detected a problem has caused unity web player to close unexpectedly. We apologize for any inconvenience this may cause. I wanted to know...
View ArticleTroubleshoot C# collision trigger
I have this exact same type of trigger for another game, however THIS one isn't working, and I cannot see/figure out why not. void OnTriggerEnter(Collider otherObject) { //if ball goes off the visible...
View ArticleToggle weapon Script.
"Hola! I have had unity for about 3 months now and and really want to know how I can have a Primary weapon and a Secondary weapon. It would really help if someone could help me out and tell me what I...
View ArticleBCE0044 expecting :, found '='
so i was following a tutorial and I needed the cube to measure the distance from the cube to the player but for some reason i got the BCE0044 error. This is my code: playerDistance =...
View ArticleAnother camera drag script, can anyone figure out these errors?
So I am working on another camera drag script (for a top-down perspective game). function Update (){ if(Input.GetMouseButtonDown(0)){ Scroll (); } } var startcoords : Vector3; function Scroll (){...
View ArticleWhy is rigidbody.AddRelativeTorque not working?
I am trying to write a script that will add rotation (torque) to the rigidbody of an object. I thought this would be easy, but it has proved to be quite problematic. This is what I have- function...
View ArticleCollision of Character collider not working?
I wrote a script to pickup objects on collision, and subtract from a var. var stilltofind = 6; var leveltoload : String; function OnControllerColliderHit (hit : ControllerColliderHit) {...
View ArticleUnity web player setup crashing
![alt text][1] [1]: /storage/temp/23409-ggg.png How do i fix this?
View Article