- 最后登录
- 2024-6-3
- 注册时间
- 2009-10-16
- 阅读权限
- 100
- 积分
- 18803
- 纳金币
- 17488
- 精华
- 1
|
2D Connection Line (Special Effects Behavior)
Summary
Draw a 2D line between two objects.
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 0.8 of the '2D Connection Line' behavior, current as of 2005-Mar-25)
Description
While the Connection Line behavior creates a cylinder to connect two points in 3D space, this behavior draws a 2D line on a separate layer. That layer
must
have its camera set to orthographic mode.
This behavior creates a 2D Rectangle object to draw the line, so it is relatively lightweight to use. Note that the
Current Location?
option produces better results, but requires significantly more calculations to keep the line synced with the current location of objects (instead of where they were last frame).
Basic Properties
Start Object
The object to connect the 'start' of the line to.
End Object
The object to connect the 'end' of the line to.
Line Layer
The (orthographic) layer to put the lines on.
Advanced Properties
Line Color
Color for the line.
Line Width
Pixel size for the line.
Line Opacity
Opacity of for the line.
Line Glow
Emissive Power of the line.
Blending Mode
The type of transparency blending to use for the line.
Current Location?
Calculate the current location of objects, instead of the last-frame location?
|
|