hmm thanks so far. but that didnt work. Any other idea?

ok it worked. i thought about it again and changed the code to this.

Code:
VECTOR tmpv;
		vec_diff(tmpv, camera_target.x, muendung.x); //tmpv's now the vector from my.x to target.x
		vec_normalize(tmpv, 1); //increase length by "1"
		vec_add(camera_target.x, tmpv); //add that to the target*/



Now it works. because it adds the quants to the target.

Thank you very much wink

Last edited by Rasch; 12/19/10 17:35.