Camera center to my character

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
echo55
Posts: 12
Joined: Sun May 29, 2016 6:52 pm

Camera center to my character

Post by echo55 »

Hi all,

I'm working on my camera , i have a diablo-like game and i want to center my camera on my main character.

I used a basic camera (no fps , maya ...) and i dont know how to set my camera to the position of my character.

I tried to setposition . but i dont really understand how the cameras work , is setparent important?

Do i have to create a scenenode? and which attribute do i'll set to it ?


Thank you =)
thanhle
Posts: 325
Joined: Wed Jun 12, 2013 8:09 am

Re: Camera center to my character

Post by thanhle »

Search the forum for third person camera.
You will find some code from there.
Post Reply