yes, there are almost no documentation, it made my work harder...

about your code: why you use
Code:
ENTITY *entity = (ENTITY*)NewtonBodyGetUserData(body);

?

Seems that you dont need entity in this function at all


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro