Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6005037
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:20:49+00:00 2026-05-23T01:20:49+00:00

This question may be a stupid question, but I’m really curious. After playing games

  • 0

This question may be a stupid question, but I’m really curious.

After playing games like HL2, GMod, or Angry Bird, and using physics libraries like Box2D, I began to wonder “how a physics engine simulates physics?”

Like lexer and parser are used to understand the code when compiling and ray-tracing is used to render a 3D scene, I think that there’s some notions (other than collision detection) which are used in the physics engine to simulate physics, like calculating torque and velocity of a pentagon performing barrel roll.

How does a physics engine actually simulate physics? What notions are used? Is there any ‘tutorial’ on the web about making physics engine like this one, which demonstrates ray tracing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:20:50+00:00Added an answer on May 23, 2026 at 1:20 am

    Creating a (robust) physics engine is a lot more complicated then it may seem at first. The trick is to fake as much as possible rather than calculate the exact values. As a starting point, this blog post has a great introduction. I think this paper by Thomas Jakobsen is also a good read and introduces certain concepts. This blog also has a few interesting articles explaining the details of integrators and how to manage physics for online games.

    Going through the source code of physics engines such as Box2D is a good idea to see implementation, but if you don’t know the theory of what they’re doing, it can come across as confusing. The reason for this is because of the fact that the theory is often too inefficient to implement in a real time game and so algorithms and techniques are used to strike a balance between realism and speed.

    If you’re creating your own physics engine because you want to use it in a commercial game, I’d suggest choosing an already existing solution instead. (For example, Angry Birds uses Box2D). However, if you’re doing it for the experience and for learning about physics engines, it’s certainly something that’ll teach you quite a bit about efficiency and smart techniques.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok, this may seem like a stupid question (for Flash Developers) but I really
This may seem like a stupid question, so here goes: Other than parsing the
This question may be too product specifc but I'd like to know if anyone
You may think this question is like this question asked on StackOverflow earlier. But
This question may seem stupid, but, so be it! I have a stupid problem
This may seem a stupid question but I can't find the anwer... This is
This may be a stupid question but im just starting to learn Rail thats
I'm new to ASP.NET MVC so this may be a stupid question. I have
This question may sound fairly elementary, but this is a debate I had with
This question may have been asked before, but I'm starting to get into game

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.