Abstract

A physics engine in computer games takes charge of the calculations simulating the physical world. In this paper, we evaluate the performance of three numerical integral methods: Euler method, Improved Euler method, and Runge-Kutta method. We utilized a car moving game for the simulation experiments logging fps (frame per second). Each numerical integral was evaluated under two different settings, one with collision detection and the other without it. The simulation environment without collision detection was divided into two sections, a uniform velocity section and a variable velocity section. The Euler method was shown to have the best fps in the simulation environment with collision detection. Simulation with collision detection shows similar fps for all three methods and the Runge-Kutta method showed the greatest accuracy. Since we tested with rigid bodies only, we are currently studying efficient numerical integral methods for soft body objects.KeywordsComputer GameCollision DetectionPhysics EngineEuler MethodNumerical Integral MethodThese keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call