It seems to me the user data pointer set in dGeomSetData is reset later to zero when geometry is attached to body. I can set pointer to body by dBodySetData. I am, however, still wondering if it is normal behaviour and where I do possible bug. Jindrich Rohlik