Core/Misc: Implemented GetObjectScale function