Physics gun like in Garry's Mod?
Like in this video https://www.youtube.com/watch?v=tx2mlbFu420 It looks like it works quite well, and actually, I could make it too. But I noticed that his rigidbody position stays relative to the...
View ArticleAudioSource.PlayOneShot only works ONCE on Unity 5?
I am updating my Easy Footsteps script to work with Unity 5. Seems that it is really broken. I ran the updater thing and it presented no errors, but when I start walking around the footstep only plays...
View ArticleUnity compiler throwing fake errors? Something wrong with this script.
See for yourselves, tell me if you see something wrong here. This is driving me crazy for two days! var bulletPrefab : Rigidbody; var initialForce : float = 200.0; var Spawnpoint : Transform; var...
View ArticleHow do I chack that my explosion hit another explosive and blows up the other...
The question is simple, but the answer probably is not that simple. All my explosives are tagged with Explosive FYI. My script currently only blows away rigidbodies, but it doesn't blow up any more...
View ArticleLowering the lightmapper's CPU usage
The game I am making needs to be lightmapped so it looks good also with shadows off (no way), but my PC overheats when the bake has been going on for some 10-20min. Lowering texels per world unit works...
View ArticleOnTriggerStay and OnTriggerEnter won't react when the player enters them.
I have a script which checks if the player has entered the trigger and if it is then ask if he wants to buy ammo, the strange thing is - the trigger simply doesn't work while a similar method works for...
View ArticleSave system for a Motherload-like game.
My game automatically generates the world at startup by using pre-placed gameobjects which turn themselves into something or entirely disappear so every earth chunk has the same name (like Dirt,...
View ArticleGUI.Drawtexure progressbar dissapears, when it should just look shorter.
Hello, I have this problem. I have 2 GUI.Drawtexture HUD progressbars. Both have white GUI.Drawtexure backgrounds. The problem is that once I shoot (deduct 1 bullet) the progress bar dissapears and I...
View ArticleIf I publish a paid asset to the Asset Store. Can I redownload it for free?
For instance, if my hard drive breaks, or something else catastrophic happens, or the best bet is to simply keep lots of backups?
View ArticleTrying to write my own FPS movement script. Character can only move backwards?
Well, at least I am learning to write my own first person movement script. For some reason I can only move backwards. Forwards does nothing, and I can strafe very very slowly. I am writing this for my...
View ArticleThe other client does not receive chat messages.(Photon Networking)
The client that sent the message receives it and other players in the room do not receive the RPC. Weird. using UnityEngine; using System.Collections; public class ChatManager : Photon.MonoBehaviour {...
View ArticlePhysics gun like in Garry's Mod?
Like in this video https://www.youtube.com/watch?v=tx2mlbFu420 It looks like it works quite well, and actually, I could make it too. But I noticed that his rigidbody position stays relative to the...
View ArticleAudioSource.PlayOneShot only works ONCE on Unity 5?
I am updating my Easy Footsteps script to work with Unity 5. Seems that it is really broken. I ran the updater thing and it presented no errors, but when I start walking around the footstep only plays...
View Article