Questrion about OnEvent() function

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
REAPER

Questrion about OnEvent() function

Post by REAPER »

I don't understand when OnEvent() function should return false and when true. :?:
Acki

Post by 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
Post Reply