Tutorial for Lua-Scripting
Description
This tutorial gives an overview of what Lua-Scripting is and shows how to create and use your own scripts.
See Introduction to Candera Lua Scripts and Candera Lua Reference Manual for in-depth information.
Overview
This chapter gives and overview of Lua-Scripting. What is Lua-Scripting? Lua-Scripting is an ex...
Create an own Script
This chapter provides an explanation of how a new Lua-Script can be created to make it ready to b...
Lua Introduction
Callback Functions If you open your script in the Script Editor you can see that there are alrea...
Id Handling
This chapter explains how to get access to other nodes via the id of their attached script. There...
Communication between Children
How to find siblings This chapter explains how to get access to sibling nodes via the id of thei...
OnEnable() and OnDisable()
How to use OnEnable() and OnDisable() As in this example the root node script "CarRootController...
Set Priority of Lua-Scripts
Script Priority Another useful feature of Lua-Scripting is the priority. It defines in which ord...