Top "Physics" questions

Refers to real-world physics.

Bullet Physics - Apply Torque Impulse in Body's Local Space

I'm currently evaluating the Bullet Physics Library for a 3D space game I'm writing using C++ and Ogre3D. I've …

c++ physics ogre3d bullet
Friction in Box2d

I am using Box2d for a topdown game. The "ground" is a series of tiles, where each tile is …

physics box2d
2D orbital physics

I'm working on a 2D physics engine for a game. I have gravity and masses working, using a simple iterative …

2d physics game-physics gravity
SpriteKit - Set Scale and Physics

What is the correct way to "zoom out" on your scene. I have an object that I apply an impulse …

physics sprite-kit
How to create an "intercept missile" for a game?

I have a game I am working on that has homing missiles in it. At the moment they just turn …

physics trigonometry
How to code the projectile of a ball of different force and angle in Java Swing?

I have written the following function for projectile motion of different force and angle, but it doesn't work properly. Where …

java swing applet physics japplet