typedef struct dxBody *dBodyID; As you can see, dBodyID is a pointer to a dxBody structur i am not sure, but i think this pointer is the only indification of ode-objects. if you want to use IDs like 1, 2, 3, 4, .... just create yourself an array of pointers and manage it. Bye chris