Re: Keyboard input - Schematyc

#2
Hello,

To get input in Schematyc you have to add an input component to your entity and register the keys you want to listen to. Call the RegisterKeyboardAction node on start and provide the information in the properties panel of this node, you can choose the name and input id of this action. To receive the input events you have to add one of the Input::OnAction nodes depending on which event you want to listen to. The signal you get from that node will provide you with the name of the action and the value. Below you can see an example graph for a simple input event.
schem_input.jpg
schem_input.jpg (89.79 KiB) Viewed 583 times

Who is online

Users browsing this forum: No registered users and 1 guest

cron