Software for simulating physics like collisions, forces, mass, joints, motion etc. Examples of physics engines are PhysX, Havok, Bullet and ODE.
15
votes
6answers
7k views
How do I build a 2D physics engine? [closed]
The most advanced games I've made are a 8-ball pool game made with the physics engine Box2dFlashAS3 and a platform game with levels.
When I did platform games, I've always wished to know how to make ...
14
votes
7answers
10k views
What are some known 2D/3D physics engines for XNA?
I'm looking for a physics engine to use in an XNA project (2D or 3D). Because it's for XNA, it needs to fulfill some requirements:
Not necessarily free, but close to it is obviously preferred
...
11
votes
3answers
1k views
Advice needed for a physics engine
I've recently started a project, building a physics engine.
I was hoping you could give me some advice related to some documentation and/or best technologies for this.
First of all, I've seen that ...
13
votes
6answers
3k views
Do any open source JavaScript 3D physics engines exist? [closed]
I'm working on a web-based 3D FPS game using WebGL, HTML5 and JavaScript. It is supposed to target PCs and net-books with WebGL-enabled browsers installed.
I'm wondering if there's an existing open ...
3
votes
3answers
224 views
Semi Fixed-timestep ported to javascript
In Gaffer's "Fix Your Timestep!" article, the author explains how to free your physics' loop from the paint one.
Here is the final code, written in C:
double t = 0.0;
const double dt = 0.01;
double ...
3
votes
3answers
216 views
Physics System ignores collision in some rare cases
I've been developing a simple physics engine for my game. since the game physics is very simple I've decided to increase accuracy a little bit. Instead of formal integration methods like fourier or ...
1
vote
1answer
248 views
How to make a stack stable? Need help for an explicit resting contact scheme (2-dimensional)
Previously, I struggle with the sequential impulse-based method I developed. Thanks to jedediah referring me to this paper, I managed to rebuild the codes and implement the simultaneous impulse based ...
4
votes
3answers
2k views
Why do we use physics engines for collision testing or raycasting?
There is a thing I don't understand about game engines: why it is so common to use physics engines to do raycasting or collision testing?
Say that you have a 3D scene loaded in your scene manager ...
3
votes
1answer
760 views
Realistic Trajectory of a Projectile
When simulating an airplane and a missile, to get them moving in the air we apply a force in one direction. Now an airplane has wings that keeps it afloat while a missile can have fins to stabilize ...
2
votes
1answer
175 views
Realistic 2D Planetary Physics Engine?
I'm doing a spaceflight simulator in C++ (using Allegro 5), and I realised that I could just use a physics engine instead of writing my own physics.
So that's what I'm doing.
Since this is going to ...
1
vote
1answer
373 views
what is the absolute simplest way to add physics to a simple 3D game
This physics does not have to be very complex at all.
There are a number of rectangles and one ball, all of which have the appropriate bounding volumes constrained to them, it would be great if the ...
0
votes
1answer
3k views
3D open source physics engine suitable for mobile platforms (Android and iOS)
I have made some research and found that bullet, ode, newton and some others are open source physics engines that should be portable enough (but I have never tried to comile/use anyone of them on ...