createMethod in  CollisionObject