Let's go further with the gameplay in Babylon.js. The framework provides an ActionManager
class that allows us to manage and execute actions when a trigger is raised by the engine.
For example, imagine a scene with a button. When the button is pushed (left-click), the light(s) in the scene should be turned off, except one. This is only an example. In this chapter, we will cover the following topics:
- Defining actions on objects
- Using conditions to control the actions graph
- Using the Actions Builder in 3ds Max