maya camera into TPC

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
xt_hydra
Posts: 12
Joined: Sun Jul 08, 2012 2:39 pm

maya camera into TPC

Post by xt_hydra »

so.. i downloaded irrbullet, i check their examples and find a character demo
theres a camera controller that follow the character and rotate around the character or something like that
since the camera is not FPCam.. and alot of people saying that for making TPCam you should use FPCam.. i was septic first by the fact i would have to learn trigometric functions..

but i noticed that when i left click it rotate the camera, so i modify into "CSceneNodeAnimatorCameraMaya.cpp" and at line 194 i just remove the boolean for mouse input wich control mouse rotation

and well.. techniclly when i move the mouse now the character rotate.. sooo

do what i've change is likely not recommended or what i've did still result in useable Third Person Camera?
CuteAlien
Admin
Posts: 9720
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: maya camera into TPC

Post by CuteAlien »

You are free to modify the Irrlicht sources, but it's probably easier if you create your own animators instead. Modifying Irrlicht source directly will make it harder for you on updates (you have to keep a list of your patches and apply them again).
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
Post Reply