Page 1 of 1

maya camera into TPC

Posted: Sun Sep 30, 2012 5:57 pm
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?

Re: maya camera into TPC

Posted: Mon Oct 01, 2012 9:33 am
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).