CollisionObject constructor is now protected. Use method create instead.