MODS PLEASE DELTE!!
-
- Posts: 6
- Joined: Mon Nov 22, 2004 1:54 am
- Location: USA: Texas
- Contact:
MODS PLEASE DELTE!!
I can't seem to find out how to get a third person view. I'm sure the engine can do it, Whats the code? Thanks in advanced.
Last edited by TheGoldeagle on Wed Nov 24, 2004 9:55 pm, edited 1 time in total.
-
- Posts: 386
- Joined: Thu Sep 25, 2003 12:43 pm
- Contact:
Well, here's a basic one...
I might of made a mistake some where, but i'm in a hurry.....
Code: Select all
Camera->setPosition(vector3df(
sin(PlayerNode->getRotation().Y*PI/180.0f + 200),
0 /*UNITS ABOVE PLAYER*/,
cos( PlayerNode->getRotation().Y*PI/180.0f + 200 )
);
Camera->setTarget(vector3df(PlayerNode->getPosition());
-
- Posts: 6
- Joined: Mon Nov 22, 2004 1:54 am
- Location: USA: Texas
- Contact: