标题: Connection Line (Special Effects Behavior) [打印本页] 作者: Asen 时间: 2011-10-8 14:49 标题: Connection Line (Special Effects Behavior)
Summary
Keeps two objects connected with a line, with optional start/end arrows.
Category
Latest Behaviors
Author
Gavin Kistner
Difficulty
(Reference)
Time to Complete
5 Minutes
Downloads
Click Here
to download the associated files.
(This document covers version 1.2.0 of the 'Connection Line' behavior, current as of 2005-Aug-04)
Description
The line that connects the two objects together is actually a long cylinder. The
Line Width
,
Line Color
,
Line Opacity
, and
Line Glow
properties let you change the display style of the connection.
Both the
Start Object
and
End Object
properties default to the parent object; you must pick a different object for one of the ends to draw a connection line between them.
You may choose to attach an ‘arrow’ object at either end of the connection (or both) by setting the
Start Arrow Type
and
End Arrow Type
properties to something other than
None
. You can choose the model for the arrow, its color, opacity, glow, length and width.
The connection line is kept updated as the objects move around. By default, the line is drawn between the ‘center’ (pivot) point for each object. (If an end object is transparent, you will see the connection line entering it.) However, if an arrow head is placed on the connection line the arrow head stops at the edge of the model (and the connection line stops at the end of the arrow head).
To force the connection line to draw between the edges of the end models, turn on an arrow head for each end, but set the length, width, and opacity for each model to 0.