• # Math and Physics

Resources for mathematics and physics that relate to game development, including collisions and algorithms

## 89 articles in this category

1. #### Happy Physics Programming for Beginners

Tarik Kaya Kayabros http://www.kayabros.com Video tutorial for coding physics from scratch.
• 984 views
2. #### Combining Material Friction and Restitution Values

Peter Stock Calculating the coefficients needed to use the Coulomb friction model in physics simulations
• 1 comment
• 27617 views
3. #### Math for Game Developers: Graphs and Pathfinding

Jorge "bsvino" Rodriguez Jorge returns with another series of his popular YouTube videos, covering AI techniques to make your agents smarter about moving around your game world
• 24684 views
4. #### DIY 2D Vector Physics

Tom Novelli Some algorithms to get you started should you opt to ditch the libraries & do it yourself.
• 14672 views

Álvaro Begué How do you compute where you have to aim to hit a moving target with a finite-speed projectile? This is a common question on gamedev.net's forums. This article presents a procedure to solve this problem and some variations thereof.
• 30407 views
6. #### 2D Transforms 101

Sundaram Ramaswamy A presentation on 2D transforms with interactive animations.
• 26332 views
7. #### Math for Game Developers: Advanced Vectors

Jorge "bsvino" Rodriguez YouTube series for beginners explaining various mathematical concepts as applied to game development
• 32448 views
8. #### Particle Systems using Constrained Dynamics

Tim Bright A really cool way to simulate large numbers of particles with path constraints *without* using springs.
• 29659 views
9. #### Math for Game Developers: Probability and Randomness

Jorge "bsvino" Rodriguez YouTube series for beginners explaining various mathematical concepts as applied to game development
• 24700 views
10. #### PID Control of Physics Bodies

James Wucher Once you bite the bullet and decide to use a physics engine for your game pieces, you are going to have to come to terms with making them move naturally. Getting a handle on handling forces to make things "turn" can be a psychotic episode in the making. Instead, do what the engineers do in the real world and use a PID control loop.
• 26515 views
11. #### Capsule Inertia Tensor

Bojan Lovrovic This article tries to simplify the math behind calculating inertia tensor of a cylinder as much as possible without skipping on any important details. Implementation in C/C++ is presented at the end.
• 16200 views
12. #### Towards a Simpler, Stiffer, and more Stable Spring

Michael Schmidt Nissen (H4Tt3N) In this article we will look at a modified spring equation that is very easy to tune, displays maximum possible stiffnes and damping, and is guaranteed to keep any spring system stable under all conditions. The equation is tailored for 1st order symplectic Euler integration and impulse based simulation.
• 19379 views
13. #### Shooting At Stuff

James Wucher You never shoot directly at a moving target. You shoot at where the target is going to be when your shot gets there. Millions of years of biology make it easy for predators. Turns out it's pretty easy for computers as well...if you know the math.
• 20925 views
14. #### Math for Game Developers: Calculus

Jorge "bsvino" Rodriguez The popular series continues with applications for calculus as related to game development
• 31984 views
15. #### Simple but Effective Collisions Part 1: Radial Collision Handling

George Kristiansen Smooth collision detection is a requirement for any game, whether you're running around in an FPS or landing a spacecraft on the Moon. This article talks through the first of two methods for implementing simple collision detection for objects commonly encountered in games. It will use DirectX syntax, but it is easy enough to apply to other APIs.
• 17373 views
16. #### Matrix Inversion using LU Decomposition

• 49327 views
17. #### Math for Game Developers: Fragment Shaders

Jorge "bsvino" Rodriguez A series of videos on the mathematics behind shaders, covering topics including normal mapping, lambertian surfaces, specularity, sprite lamp normal generation and fog
• 16795 views
18. #### Making a Game Engine: Transformations

James Lambert Any graphical game needs a way to place objects on the screen, move them, rotate them, and even grow or shrink them. Transformation matrices offer a very elegant solution to this problem.
• 34821 views
19. #### Math for Game Developers: Triangle Meshes

Jorge "bsvino" Rodriguez
• 15817 views
20. #### Math for Game Developers: Geometry Testing

Jorge "bsvino" Rodriguez Learn the math behind firing a bullet and detecting collisions in a scene with the line/box intersection algorithm
• 19627 views
21. #### Advanced Intersection Test Methods

Tim Bright This advanced article on intersection tests is primarily about curve intersection, but it also contains useful information for primitive intersection tests, such as point-line, line-line, and line-circle. These can be extended to 3D primitives as well.
• 16689 views
22. #### Problem Solving Using Vectors

James Lambert Anybody who has dealt with rotating sprites probably has dealt with angles. Representing a sprite's rotation as an angle makes certain operations, such as rotating towards another angle, much more complicated than it should be. There is a better way. Use unit vectors.
• 22581 views
23. #### Practical Guide to Bezier Curves

Tim Bright There's a lot about the basics of Bezier curves around, but how about actually using them? This will show a few new things about Bezier curves, a few techniques in coding up curves, and serve as a primer for Bezier surfaces and B-splines.
• 23210 views
24. #### Math for Game Developers: Advanced Matrices

Jorge "bsvino" Rodriguez The popular video tutorial series continues with new videos on advanced ways to use matrices in game development
• 17897 views
• ### Latest Published Articles

• #### Postmortem: I Am Overburdened, Recaps and Numbers

Spidi provides a fully detailed breakdown of the development and business results of the release of "I Am Overburdened".
• 396 views
• #### A LinkedIn Profile for Job Hunting and Networking

Marc Mencher GameRecruiter http://www.gamerecruiter.com Marc Mencher is founder and CEO of GameRecruiter and author of Get in the Game!, an instructional book on building a career in the video game industry. In this first in a series of articles on managing your career in the games industry, Marc offers advice on creating a LinkedIn profile for job hunting and networking.
• 1 comment
• 1128 views
• #### Android Debugging with Visual Studio Code

Eric Shaw Learn how to use Visual Studio code to debug native Android applications.
• 1 comment
• 1867 views
• #### 3 Game Design Mindsets

Cody Red http://www.xnahub.com Unless you are tracking, planning, and hitting your KPIs (the only things that matter in the initial phase), you’ll easily get sidetracked, overwhelmed, start looking at the wrong things, make bad design decisions, and eventually, lose focus.