Tag Info

New answers tagged


It kinda depends on what you're making. If you're making a game about physics, you could conceivably write your own physics engine, however I do not recommend it. There are many 2D and 3D physics engines already out there that you can use that will save you months of work. My first time using Box2d was intimidating, and I'll admit it has a fair learning ...


This is what I use to check collision between circle / rectangle. Note that this doesn't do continuous collision detection. Which means that if both of the shapes are unproportionally small or the objects are colliding with really high speeds (because you have too low fps and you use Delta Time to calculate the velocity for example), then the collision ...

Top 50 recent answers are included