Category:World listener functions

From Newton Wiki
Revision as of 08:08, 10 June 2019 by WikiSysop (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Newton world listeners enable your application to track specific events such as body creation and destruction, and add pre-update and post-update routines to a world simulation.

First a listener is created to a newton world using NewtonWorldAddListener, after this, the listener can be set to either of the following events:

Newton world: