What's new
- Switching entities off. An entity that is off is not drawn, simulated or played, and neither is anything under it. It stays in the hierarchy and the file, and comes back as it was.
- Shorter Lua. Components are fields of their entity (
entity.Rigidbody), and things read often are properties (entity.Forward,Time.Delta). A wrong component name is an error, so a typo is caught on the line it is on. - New helpers such as
entity:LookAtandcamera:ScreenToRay. - Completion in code editors. The editor writes definitions for the whole scripting API into each project, so VS Code and other editors with a Lua language server complete names and show what each function does.
Older names keep working, so scripts written the day before still run.