Confirming an action, for example when the user clicks exit on an exit button in a main menu, is one of those nice touches that just add that little bit more polish and user convenience. As such its something that should be in the toolkit of every Unity coder. Creating the prefab for the dialog […]
Category: Unity 3D
A quick and simple tip, for when you just need storms of missiles! When implementing logic to arbitrate collisions, things generally go okay initially, nothing too busy, a single bullet zips to its target and a collision happens… Great but what if we want a storm of bullets. The first thing you’ll notice if you […]
There are very many ways to control your player in a Unity game, in this case I had a number of specific requirement. Steering shouldn’t behave like a hovercraft skid steering or a rocket sled on ice! The player should be able to push other objects that have rigid bodies. When landing on a moving […]
Its not at all uncommon to have multiple cameras in a game. In my case I decided that a rearview mirror would help the player with situational awareness. Handily its no surprise that Unity has a Render Texture asset which is just the thing we need for this job. In the example video there is […]
If you’ve ever done much coding using “physics” engines, then you’ll have seen the hilarity that ensues when you accidentally try to make two object occupy the same or even part of the same space. The objects in question will be subjected to literally massive forces, flinging both the objects far and wide. My initial […]
I’ve kept my eye open on Unity’s Linux progress for some time, and the less charitable of you out there could be forgiven for thinking that if the people writing Unity really believed in it, then they’d rewrite the editor in Unity itself… After an initial look with Void Linux (some success but later versions […]