Looking for third person camera

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
GuyOnAWallaby
Posts: 15
Joined: Sat Oct 11, 2014 6:13 am

Looking for third person camera

Post by GuyOnAWallaby »

Does anyone have an updated class for a third person camera that I could use or look at to base my own on, can't find any in the forums that are relatively recent.

Thanks.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Looking for third person camera

Post by CuteAlien »

I got one implementation, hope it helps: https://code.google.com/p/irr-playgroun ... sonCam.cpp
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
GuyOnAWallaby
Posts: 15
Joined: Sat Oct 11, 2014 6:13 am

Re: Looking for third person camera

Post by GuyOnAWallaby »

Thanks for the code, it's helpful. But I can't get the event receiver to work. I put a test case inside the KEY_LEFT that just prints out that it worked, and when ever I press the key nothing prints out.

EDIT:
I fixed it, I didn't have this line in my code anywhere:

device->setEventReceiver(receiver);
Post Reply