## Fix for Unofficial UnLookAt function

clintonman
Captain
Posts: 2281
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

### Fix for Unofficial UnLookAt function

I just discovered that the Unlookat does not work for lights. Attached is a fix for the 7.61 Unofficial Update version of truespace.

On a side note I also discovered that when you use lookat with a light it may not work if it is a new light with the default orientation. Rotate it a little bit before lookat and it works.
Attachments
UnLookAt Fix.zip
Clinton Reese

http://clintons3d.com

trueBlue
Captain
Posts: 1564
Joined: 06 Jul 2009, 22:50
Type the number ten into the box: 10

### Re: Fix for Unofficial UnLookAt function

Thanks Clinton! I guess nobody has used the LookAt tool on lights since hummmmm...2009?
Would you mind using your script that is created in tS76 so that it is compatible with tS76 too?
Also it is necessary to include the xml file so that when you reset the default context the script is rebuilt.
You can overwrite it in:
C:\trueSpace76\tS\Scripts\ScriptCommands\UnLookAt.xml
Both files created in tS76 included here and are compatible with tS761.

One way a user could install this would be to replace the UnLookAt.xml file in tS76 or tS761 and then reset the default context. No need to replace the UnLookAt.RsObj in System/Scripts/Commands
Attachments
UnLookAt_tS76.zip

Draise
Captain
Posts: 2970
Joined: 21 Sep 2009, 19:33
Type the number ten into the box: 0
Location: Bogota, Colombia
Contact:

### Re: Fix for Unofficial UnLookAt function

I've used it before... wondered why they didn't' work quite as expected!!!

clintonman
Captain
Posts: 2281
Joined: 21 May 2009, 21:08
Type the number ten into the box: 0
Location: California
Contact:

### Re: Fix for Unofficial UnLookAt function

I stuck an installer script on my utilities page:
http://www.clintons3d.com/plugins/trues ... index.html" onclick="window.open(this.href);return false;

Installation steps:

unzip the file
load the rsobj script and run it

the script will install and the xml file will copy to the scripts folder
Clinton Reese

http://clintons3d.com