NewtonWorldListenerSetPostUpdateCallback

From Newton Wiki
Jump to: navigation, search

NewtonWorldListenerSetPostUpdateCallback

void NewtonWorldListenerSetPostUpdateCallback (const NewtonWorld* const newtonWorld, void* const listener, NewtonWorldUpdateListenerCallback update)

Usage

Adds a pre-update callback to newton world, this callback will be called when your application calls newtonupdate, after all physics simulation is complete.

Parameters

  • const NewtonWorld* const newtonWorld - instance of newton world
  • void* const listener - pointer to a listener created with NewtonWorldAddListener
  • NewtonWorldUpdateListenerCallback update - pointer to your callback

Return

  • (Procedure)

Description

See also

NewtonWorldAddListener, NewtonWorldGetListenerUserData, NewtonWorldListenerDebug, NewtonWorldListenerGetBodyDestroyCallback, NewtonWorldListenerSetBodyDestroyCallback, NewtonWorldListenerSetDebugCallback, NewtonWorldListenerSetDestroctorCallback, NewtonWorldListenerSetPostUpdateCallback, NewtonWorldListenerSetPreUpdateCallback