physic and collision engine now uses weak_ptr as objects