Skip to content
Lucas edited this page Apr 12, 2019 · 5 revisions

Hint: Actual tutorials at newtondynamics.com

Official tutorials

The Tutorials for Newton 2.0 are built on a common tutorial framework written in C++ provided with the SDK. The framework utilises OpenGL (which is not required to use newton) and all samples are configured for compilation with Microsoft Visual Studio 6 and Microsoft Visual Studio .NET. A basic understanding of C++, 3D Graphics, and Newtonian Physics are assumed.

Note: you need to download the latest version of Newton and set an environment variable name NEWTON_HOME to point to where the newton engine SDK is in you disk.

A typical environment variable looks like this: NEWTON_HOME=C:\Newton_200\NewtonSDK\sdk

The more relevants of these tutorials with some variations to conform to Objective-C, are also available for iPhone/iPod Touch.

This iPhone tutorial is built with old version (2.x) of SDK. Simulator library contains some unused functions but this blocks execution on Simulator. So running in Simulator will fire some error related thread functions. Because there are a lot of changes after the tutorial made, you can't run tutorial even with recent build of Newton. Anyway, you can run the tutorial on Device without any problem. I confirmed this compiled and worked with iOS SDK 4.3 / Xcode4 for Device. Of course, you need iOS developer license to run on Device. Use this tutorial for only proving execution on iOS and studying how-to guide. Related discussion thread

Series 100: Beginner's package

  1. Getting Started
  2. Adding Rigid Bodies
  3. Adding Joints
  4. Ray Cast And Convex Cast
  5. Basic Materials
  6. Mesh Collision
  7. Height Field Collision

Series 200: Intermediate package

  1. Advanced Custom Material System
  2. Player Controller
  3. Ray Cast and Convex Cast vehicle controller

Unofficial tutorials

General topics

Engine integrations

  1. Irrlicht + Newton 2 + Lua
  2. Irrlicht + Newton 2
  3. OgreNewt