Difference between revisions of "NewtonCreate"
m (1 revision imported)
Latest revision as of 08:02, 10 June 2019
NewtonWorld* NewtonCreate ()
Create an instance of the Newton world.
- NewtonWorld* returns a reference to newton world created.
- This function must be called before any of the other API functions.
This is the command that creates a Newton world, which holds all of your Rigid Bodies, Collision data, etc. although you can theoretically have more than 1 World in an application, most situations only require a single world.
- Note Memory manager parameters have been moved to NewtonSetMemorySystem function.
NewtonWorld* nWorld = NewtonCreate( );