ChilloutVR Lua Scripting¶
ChilloutVR uses a slightly-modified version of Lua to allow you to create dynamic, scripted behaviours for in-game avatars, props, and worlds.
Note
Keep in mind that the name of the language is spelled Lua, which is the Portugese word for Moon. Lua is not an acronym, but a proper noun.
About Lua¶
Lua is one of the oldest, but most-used purpose-made embedded scripting languages on the planet, and is used in many games and applications.
Tutorials¶
Examples¶
- Funny Cube - An internal test script that spins the object it's in
- Disable GameObject at Home - Disable a GameObject at home.
- Teleport from Water - Teleport when fully immersed in water.
- Thumbs Up Player Launcher - Launch upward when doing 2x thumbs up gesture.
- Viewpoint Raycast - Perform a raycast from the player's viewpoint.