Hello,
I have a problem with the eventreceiver :
My program have a MainEventreceiver for general use (GUI, some GameState ) and a camera animator.
When I create my device with EventReceiver (or set), the OnEvent at my animator don't run..
Can someone enlighten me ?
RVM
Eventreceiver block animator OnEvent
Eventreceiver block animator OnEvent
//When I wrote this, only God and I understood what I was doing
//Now, God only knows
//Now, God only knows
Re: Eventreceiver block animator OnEvent
some code about what are you doing? There are several examples in Irrlicht SDK wich covers animators and events. They are enough to use them correctly
Junior Irrlicht Developer.
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Real value in social networks is not about "increasing" number of followers, but about getting in touch with Amazing people.
- by Me
Re: Eventreceiver block animator OnEvent
Sounds like you might return "true" in your eventreceiver. That marks events are finished and the camera animator will no longer receive them. So by default return false unless you want to ensure an event is not passed any further.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Eventreceiver block animator OnEvent
It was my case, thank you.CuteAlien wrote:Sounds like you might return "true" in your eventreceiver. That marks events are finished and the camera animator will no longer receive them. So by default return false unless you want to ensure an event is not passed any further.
RVM
//When I wrote this, only God and I understood what I was doing
//Now, God only knows
//Now, God only knows