Component image 
Line Transform component as seen in the Scene Inspector

The LineTransform component is a transform driver component used to position an object between two points or slots.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Point0
|
Float3 | The point in local space to transform from. |
Point1
|
Float3 | The point in local space to transform to. |
Point0Anchor
|
direct TransformRelayRef | acts as a slot to offset Point0 in global space.
|
Point1Anchor
|
direct TransformRelayRef | acts as a slot to offset Point1 in global space.
|
LinePositionType
|
PositionType | How to calculate the position on the line using LinePoint for the slot this component is on.
|
PlanePositionType
|
PositionType | How to calculate the position on the line using LinePoint for the slot this component is on.
|
LinePoint
|
Float | Where on the line specified by Point0 and Point1 in percentage or relative distance that the slot this component is on should be positioned.
|
OffsetPoint
|
Float3 | The offset from the point found by LinePoint slot this component is on should be.
|
RotationOffset
|
FloatQ | The rotation offset from looking along the line. |
_position
|
field drive of Float3 | drives the target field with the position found by LinePoint plus OffsetPoint rotated by RotationOffset and "looking down the line rotation" around the point found by LinePoint .
|
_rotation
|
field drive of FloatQ | drives the target field with RotationOffset and "looking down the line rotation"
|
AllowRepositioning
|
Bool | Allow grabbing of the slot this component is on to move the object and change LinePoint
|
RepositionOffset
|
Bool | Whether grabbing changes OffsetPoint as well.
|
Usage
Can be used to position an object along a track like a slider.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.