Added physics object creation in engine class.