3rd person camera

Posted By: littlejacky

3rd person camera - 01/27/10 15:54

Hallo!
Ich hab mal ne Frage.
Hat jemand einen "3rd person Kamera-code", bei dem die Kamera NICHT durch Wände schwebt???
Oder hat jemand eine Idee wie das geht???

Meine Lieblingsansicht ist eben die "3rd Person-Ansicht" und ich möchte nur ungern in die "1st Person-Ansicht" wechseln.
Also...
Falls jemand so einen Code oder eine Idee hat, BITTE BITTE BITTE schreiben.
Posted By: the_clown

Re: 3rd person camera - 01/27/10 15:58

Was erstmal helfen sollte, ist folgendes:
Nach ALLEN ANDEREN Kamera-Codes, dies:

if(c_trace(player.x,camera.x,IGNORE_ME | IGNORE_PASSABLE)!= 0)
{
vec_set(camera.x,target);
}
Das ist nicht sehr elegant, aber entfernt das lästige in Wände schweben..
Posted By: littlejacky

Re: 3rd person camera - 01/27/10 16:38

Danke!
Ich dachte nicht dass es so "einfach" ist.
© 2023 lite-C Forums