Questrion about OnEvent() function
-
REAPER
Questrion about OnEvent() function
I don't understand when OnEvent() function should return false and when true. 
-
Acki
If you handled the event you should return true, otherwise false...
If you return true, Irrlicht doesn't care anymore for these event, when returning false, Irrlicht will handle these event too !!!
For example you have a FPS camera and whant to react on the forward key for something else you should return false, because the FPS cam would not move forward if you return true...
CU, Acki
If you return true, Irrlicht doesn't care anymore for these event, when returning false, Irrlicht will handle these event too !!!
For example you have a FPS camera and whant to react on the forward key for something else you should return false, because the FPS cam would not move forward if you return true...
CU, Acki