If you’ve ever used a Rigidbody component in Unity, you may have seen a couple of settings on the component which may be a little difficult to understand the meaning of. On this site, we have covered what some of these settings mean and what they do, such as:
The Collision Detection property, which controls what kind of collision detection mode your Rigidbody is using. This is because using the wrong Collision Detection mode can cause tunnelling.
One of the most common questions I get from students looking to build a platformer is this: how do I build a moving platform in Unity? Well, if you are looking for code that you can just copy-paste into your project, look no further.
If you are dynamically generating strings in your Java program, one of the best things you can do for your program is to build your string using a StringBuilder or StringBuffer, as opposed to using a regular old String.
The reason for this? In Java, strings are immutable, and every time you concatenate a string that the program hasn’t seen before, a new string object is created and stored in the heap. This means the whole process involves a lot of reading from and writing to the memory. The StringBuilder and StringBuffer in Java are objects that are designed to do string concatenation in a more efficient manner, but how much more?
We’ve got a simple Java program here that you can run from your browser so you can see it for yourself.
A common point of confusion amongst beginners in Unity is how to transfer a Unity project from one computer to another, as there are many ways this can be done. In this article, we will be exploring these methods, as well as their pros and cons.
Recently, one of our clients building their website on WordPress with us had a requirement — they wanted to have a URL base structure for their author pages that was different from the WordPress default. Instead of the default /author/[username] structure, they wanted to use /authors/[username] instead. Although there are plugins for this, we decided to implement it into the theme we were developing for the client to make the functionality as lightweight as possible.
Turns out, the implementation was pretty simple, as WordPress has built-in hooks for this. To update the author page URLs, we need to do 2 things:
Unity provides game developers with a robust platform to create immersive experiences. Once you’ve completed your Unity project, it’s time to export it as an executable (.exe) file, allowing others to play your game on Windows. In this article, we will walk you through the step-by-step process of exporting a Unity project as an executable game on Windows, covering important considerations along the way.