Useful tips for everyday
When would you use a float integer? Integers and floats are two different kinds of numerical data. An integer (more commonly called an int) is…
How do you find the vertices of a polyhedron? The vertices are the corners of the polyhedron. Euler’s Formula tells us that if we add…
How does Box2D collision work? You can either work with sensors, which are box2d fixtures that just act as a sensor. That means that when…
What can you do with a GLSL shader? This post will be part of an ongoing series porting Image Editing tools to GLSL. Color correction…
Can bounding boxes overlap? In object detection, it is usual to have bounding box targets to identify objects in images. These bounding boxes may sometimes…
What is UnityEngine random? UnityEngine. Random is a static class, and so its state is globally shared. Getting random numbers is easy, because there is…
How can you avoid an infinite loop in recursive functions? To prevent infinite recursion, you need at least one branch (i.e. of an if/else statement)…
How do I view animations in unity? To open the Animation view in Unity, go to Window > Animation. What is the difference between animation…
How do you find velocity in a collision? If two particles are involved in an elastic collision, the velocity of the second particle after collision…
What is Grid unity? The Grid component is a guide which helps to align GameObjects. See in Glossary, such as Tiles. See in Glossary, based…