Page 1 of 1

need a script for the view

PostPosted: Thu Sep 10, 2009 11:28 pm
by j2graves
I need some kind of script that holds the view equal distance between two moving actors.

Re: need a script for the view

PostPosted: Thu Sep 10, 2009 11:32 pm
by Hblade
Soudns advanced O.o

Re: need a script for the view

PostPosted: Thu Sep 10, 2009 11:51 pm
by j2graves
I once had a script for this, but I lost it.

Re: need a script for the view

PostPosted: Thu Sep 10, 2009 11:57 pm
by Hblade
Woah o.o Idk :P

Re: need a script for the view

PostPosted: Sat Sep 19, 2009 10:41 pm
by j2graves
okay, now if someone could HELP me instead of writing random links... :roll:

Re: need a script for the view

PostPosted: Sat Sep 19, 2009 11:22 pm
by skydereign
You mean this? It is pretty simple, so I am not sure this is what you wanted. This is only for the x dimension, so you would copy it and change it to y if you wanted for both directions. If there are any problems with this, I can try to help.
Code: Select all
view.x =  actor1.x + (actor1.x - actor2.x)/2