dBodySetMovedCallback

@brief Set the 'moved' callback of a body.

Whenever a body has its position or rotation changed during the timestep, the callback will be called (with body as the argument). Use it to know which body may need an update in an external structure (like a 3D engine).

@param b the body that needs to be watched. @param callback the callback to be invoked when the body moves. Set to zero to disable. @ingroup bodies

extern (C) nothrow
void
dBodySetMovedCallback
(,
void function callback
)

Meta