|
** In the control class, the object `spatial` gives you access to the spatial and subspatials that the control is attached to.
|
|
** In the control class, the object `spatial` gives you access to the spatial and subspatials that the control is attached to.
|
|
** Here you modify the `spatial`'s transformation (move, scale, rotate), play animations, check its environement, define how it acts and reacts.
|
|
** Here you modify the `spatial`'s transformation (move, scale, rotate), play animations, check its environement, define how it acts and reacts.
|
|
|
|
+To implement game logic for a type of spatial, you will either extend AbstractControl (most common case), or implement the Control interface, as explained in this article.
|