Inherit from CollisionNode

Do I call MyObject::init_type() in main function?

int main(...) {
   ...
   MyObject::init_type();
   ...
}

If i do it, the problem’s not resolved!

Excuse me … I don’t understand what you tell me

PS: ok, i understand but it doesn’t work… i try to move MyObject::init_type method at the beginning of the main and than of open_framework call, but the problem’s not resolved… where am i wrong?
PS2: and is not a register problem: i print obj->get_type().get_name() and it is “MyObject”. and obj->get_type().get_parent_class(0).get_name() is “CollisionNode”.