Here you’ll find the demos and applications I wrote in order to demonstrate the features of the Newton Game Dynamics engine.
Newton Tracked Tank 2008 (proof-of-concept)
The follow up to a 2006 demo I created using newton (which wasn’t working very good back then, now it is). This demo simulates a tank using a realistic method, applying acceleration within the material callback for the tracks. Each contact generated is rotated to point in the moving direction and then an acceleration is applied along the contact’s tangent. This is not only realistic, but also much faster than the most fake “solutions” to simulate a tank (like using a vehicle container with a dozen wheels or so). This method also allows for separate analog control of the tracks when using e.g. a gamepad with two analog sticks. This lets you move the tank around like a real tank (in most games you aren’t able to control the tracks separate), the turret can also be rotated freely around. But note that this is a proof-of-concept to show that this technique is working, there are several things that can make it even better, which may be implemented in a newer version. If you want to know how I implemented this, head over to this thread on the newton forums.
A video of this demo can be found here.
Up until now my most ambitious and feature-rich physics project. The Newtonplayground is an open “playground” that can be used to try out all of the features the Newton Game Dynamics Engine, a physics engine for realtime applications, offers. You can make some simple scenes but also create huge and complex objects that you can then interact act with in a physically correctly simulated environment. Starting with the simplest primitives over to complex user-made meshes, motorized joints and dampers and springs, almost everything is possible with this application.
Most people should know this famous office-gimmick thinggy. This is my implementation of it and it uses the NGD to simulate it. Drag one (or more) ball(s) back and let it go and most of the energy you put in will be transferred between the other balls onto to same number of balls on the other side, so that if you swing the ball hard enough you can watch it in action for some longer time. Also note that most other physics engines would fail on this one, as NGD is the only realtime physics-engine whose solver can solve such cases. Please refer to the readme.txt for instructions on how to use this demo. Screenshot | Screenshot
Newton Vehicle Racing Demo
Here you can see the new vehicle container of Newton Game Dynamics in action. It’s an easy to use container that allows you to build vehicles with as many wheels as you want. In this demo, you can race your car around a huge racetrack, and one the sides of the racetrack you can find over 120 dynamic objects to interact with and even a looping and a jump. There is also an icy sea to show you different material behaviour of NGD. The car itself uses a gearbox (that’s not done via newton) and you can choose between front and backdrive and 4WD.