Best TPS camera class

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
Jedimace1
Posts: 16
Joined: Fri Aug 01, 2008 12:59 pm

Best TPS camera class

Post by Jedimace1 »

There seems to be many TPS camera classes. I tried to use the one in "Yet Another Third-Person Camera" but it didn't work at all, and they did mention a bug. I hear about older ones but can't find one with links that still work. Can someone show me the best(for an RPG)?
Image
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

Have you tried searching for RPG cameras? Some people have made ones which they've labelled as RPG cameras instead of third person ones so you might find something different.
Image Image Image
pera
Posts: 460
Joined: Wed May 14, 2008 1:05 pm
Location: Novi Sad, Serbia
Contact:

Post by pera »

There is RTS camera. more like for real time strategy / baldurs gate type of game, then camera chasing Lara Croft style, but hey, 3rd person is 3rd person no matter where it stands.
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

why don't u make ur own tps camera???
its really easy just make a camera follow a point...and done. all the cameras i saw on this forum are completly useless bc they actually are used to move the character. and when using a realy physics engine thats not working.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Jedimace1
Posts: 16
Joined: Fri Aug 01, 2008 12:59 pm

Post by Jedimace1 »

Searched RPG camera and found nothing. Looked through alot though could've missed something.
why don't u make ur own tps camera???
its really easy just make a camera follow a point...and done. all the cameras i saw on this forum are completly useless bc they actually are used to move the character. and when using a realy physics engine thats not working.


I can make it follow the person, but what happens is when he starts falling(the character), the camera can't keep up, and I can only make it a fixed camera. Also, IDK how to rotate the camera around a point. Got to have rotation. And finally, I can't make it stay behind the character's back, it only stays at one side. A lot that I can't code myself.. I can make the character move like I want too to, it's just the camera.
Image
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

dude that has nothing to do with programming thats math. u just have to use some matrixes to calculate the rotation of the camera and then make it follow a scenenode (not child).
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Jedimace1
Posts: 16
Joined: Fri Aug 01, 2008 12:59 pm

Post by Jedimace1 »

I thought it had to do with quaternions or something. Learned it when I did XNA a while back. Never actually figured out what it did, but there is a function somewhere in Irrlicht I saw. I guess I will make my own though, and probably post it.
Image
Post Reply