g_pWorld->markForRead(); { //code for reading of rigid bodies and their properties } g_pWorld->unmarkForRead();