Add Lua support for inheriting scale and rotation