|
|
Object looking to the Player
#300808
12/05/09 14:09
12/05/09 14:09
|
Joined: Jul 2009
Posts: 1,198 Berlin, Germany
Liamissimo
OP
Serious User
|
OP
Serious User
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
|
Hey
sorry for that simple question but I don't kno it and can't fin it anywhere. I want that an object look alwasy to my ball(player)....How do I do that? o.O Sorry, I searched a while but I didn't know what to search(look to player, object player look,...)
Thanks
"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen." -JCL, 2011
|
|
|
Re: Object looking to the Player
[Re: Liamissimo]
#300813
12/05/09 14:39
12/05/09 14:39
|
Joined: Aug 2005
Posts: 1,185 Ukraine
Lion_Ts
Serious User
|
Serious User
Joined: Aug 2005
Posts: 1,185
Ukraine
|
you need to look at AUM for such question. try to use something like:
vec_set(temp,your.x);
vec_sub(temp,my.x);
vec_to_angle(my.pan,temp);
regards
|
|
|
Re: Object looking to the Player
[Re: Lion_Ts]
#300814
12/05/09 14:54
12/05/09 14:54
|
Joined: Jul 2009
Posts: 1,198 Berlin, Germany
Liamissimo
OP
Serious User
|
OP
Serious User
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
|
thnaks, I'll search for it But It would be super if someone has a good short coed for it, because searchign 80 aums isn't that easy if you don't know exactly what you are searching 
Last edited by TheLiam; 12/05/09 14:57.
"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen." -JCL, 2011
|
|
|
Re: Object looking to the Player
[Re: Lion_Ts]
#300818
12/05/09 15:34
12/05/09 15:34
|
Joined: Jul 2009
Posts: 1,198 Berlin, Germany
Liamissimo
OP
Serious User
|
OP
Serious User
Joined: Jul 2009
Posts: 1,198
Berlin, Germany
|
Okay, great, i'll try it. Yeah, normally I do that like this but in this case I dind't now what I was searching  PS: Thanks, works perfectly and also found it in the Manual. SOrry for the question and thanks for the great help
Last edited by TheLiam; 12/05/09 16:20.
"Ich weiss nicht genau, was Sie vorhaben, aber Sie können keine Triggerzonen durch Ihr Level kullern lassen." -JCL, 2011
|
|
|
|