Category:World listener functions

From Newton Wiki
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: