djiamnot / gdosc

OSC module for Godot game engine - it is now discontinued in favor of https://gitlab.com/frankiezafe/gdosc
Other
16 stars 1 forks source link

Clarify under which circumstances signals are emitted #14

Closed SpotlightKid closed 6 years ago

SpotlightKid commented 6 years ago

OSCreceiver does not emit signals, if idle processing is not turned on, i.e. it neither has a _process method or calls set_process(true). I added a sentence in the first paragraph of the "using signals" section to clarify that and added a set_process(true) call to the following code example.

That this is necessary may be obvious to Godot experts, but as a beginner, I was scratching my head as to why my signal receiver was never called, even though it was connected properly and I was sending OSC messages to the correct destination. Clarifying this in the readme might help to lessen confusion for others.

djiamnot commented 6 years ago

Thanks for catching this. It is quite obviously a bug.