I am having trouble wrapping my head around how to use the Control interface. Is this, in a nutshell, how controls work :
You have a character under your control that is walking. You walk him into a wall. A function in a control is automatically called (what calls it / how is that set up?) that starts an animation of your characters mesh falling down.
Implementing this :
You create a class that implements Control. Within the update() method goes the animation related code.
I am still unsure on how to attach a control to a spatial (I bet theres a [spatial].attachChild(..) or similar function for this) or how to connect a key press to a control (again, I probably need to go over the docs even more)
Looking at monkeyzone, I also see controls like HUDControl, UserInputControl, EffectsControl etc… So basically, a control can get attached to *anything*? A game basically IS the control functions isnt it?
Lastly, a suggestion. ‘Control’ is VERY ambiguous. Google thinks ‘AWT control? Swing control? version control? radio button / drop down type control? Industrial control?’. This makes it difficult to google articles on this topic. I would suggest (feel free to dismiss the idea) renaming ‘Interface Control’ to ‘Interface Behavior’, or something less ambiguous at least.