link editor and behaviors

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

link editor and behaviors // Tech Forum

1  |  

Post by xtetra // Aug 6, 2008, 6:00pm

xtetra
Total Posts: 9
pic
I'm working on the behavior tutorial in the introductory tutorials. For some reason the links refuse to connect into the correct places. For instance, per the tutorial:


"Drag and drop all the links from Transform object into corresponding connectors on the Rotation Engine. It is recommended you start with input connectors (red ones) and finish with output connectors, so the recommended order would be as follows: 1. Matrix 2. OwnerMatrix 3. ObjMatrix 4. WldMatrix"


So, sometimes the Matrix link will allow me to disconnect from the transform and hook it to the Matrix plug on the rotation engine but then you can't do the same with the OwnerMatrix link...it will highlight the WRONG links and reconnect incorrectly. Same problem with the output connectors.


Is there some trick I'm missing here? Has anyone else had this problem and did you find a fix for it? The simple "drag and drop" just doesn't seem to be working for me.

Post by xtetra // Aug 6, 2008, 6:07pm

xtetra
Total Posts: 9
pic
Here's a screen cap of what I mean, I'm expecting the OwnerMatrix link to allow me to remove it from the transform box and plug it into the correct input for OwnerMatrix in the Rotation Engine box but it seems to want to connect to the wrong links...

Post by Electric Jim // Aug 6, 2008, 6:28pm

Electric Jim
Total Posts: 98
If I understand you correctly, you're attempting to connect two inputs together. That's not allowed. Inputs can only be connected to outputs, and vice versa. (Think of a connection as being a pipeline for data. Data always exits an output and enters an input, and tS only lets you establish connections that satisfy this basic definition. Moreover, because there are different types of data, even if you are attempting to connect an input to an output, but the input accepts one type of data -- say, a color -- and the output provides a different type of data -- say, a transform matrix -- then tS won't let you establish that connection, either.)


I'd recommend going through Norm's Introduction To Scripting course. It gives a good, broad overview of this sort of stuff. You might also want to search the forums for posts on the Link Editor (LE), as I have seen at least one very good brief introduction to it by Dele'.


Hope this is of some help. :)

Post by trueBlue // Aug 6, 2008, 7:17pm

trueBlue
Total Posts: 1761
pic
Grab the wire and not the node as shown.
13972
This is how it should look when finished.
13973
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn