Component:RemoteConnectionPointDriver: Difference between revisions

From Resonite Wiki
m Add links to mentioned components.
add info
 
Line 1: Line 1:
<languages></languages><noinclude><translate><!--T:1-->
<languages></languages><noinclude><translate><!--T:1-->
</noinclude>
</noinclude>
RemoteConnectionPointDriver allows driving local position, vector, orientation and size from a target Slot. It can be used with [[Component:TubeWireMesh|TubeWireMesh]] and [[Component:StripeWireMesh|StripeWireMesh]] to drive the other point from another slot.


<!--T:6-->
<!--T:6-->
Line 8: Line 7:
|Name=Remote Connection Point Driver
|Name=Remote Connection Point Driver
}}
}}
RemoteConnectionPointDriver allows driving local position, vector, orientation and size from a target Slot. It can be used with [[Component:TubeWireMesh|TubeWireMesh]] and [[Component:StripeWireMesh|StripeWireMesh]] to drive the other point from another slot.


== Fields == <!--T:2-->
== Fields == <!--T:2-->
{{Table ComponentFields
{{Table ComponentFields
|FilterThreshold|Float|
|FilterThreshold|Float| The threshold before recalculating the target values.
|TargetPoint|{{RootFieldType|TransformRelayRef}}|TypeAdv1=true|
|TargetPoint|{{RootFieldType|TransformRelayRef}}|TypeAdv1=true| The slot to target.
|TargetVector|Float3|
|TargetVector|Float3| The target vector as a local transform under <code>TargetPoint</code>
|TargetSize|Float|
|TargetSize|Float| The target scale as a local transform offset under <code>TargetPoint</code>
|TargetOrientation|FloatQ|
|TargetOrientation|FloatQ| The target rotation as a local transform offset under <code>TargetPoint</code>
|LocalPoint|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv5=true|
|LocalPoint|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv5=true| The field to drive with the position of <code>TargetPoint</code> with an offset of <code>TargetVector</code> converted to this slot's local space.
|LocalVector|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv6=true|
|LocalVector|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv6=true| The field to drive with a vector of <code>TargetVector</code> in the transform space of <code>TargetPoint</code> converted to this slot's local space.
|LocalOrientation|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv7=true|
|LocalOrientation|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv7=true| The field to drive with the rotation of <code>TargetPoint</code> with an offset of <code>TargetVector</code> converted to this slot's local space.
|LocalSize|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv8=true|
|LocalSize|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv8=true| The field to drive with the scale of <code>TargetPoint</code> with an offset of <code>TargetSize</code> converted to this slot's local space.
}}
}}


Line 29: Line 30:




== Related Components == <!--T:5-->
== See Also == <!--T:5-->


<!--T:7-->
<!--T:7-->

Latest revision as of 03:22, 1 August 2025


Component image 
Remote Connection Point Driver component as seen in the Scene Inspector

RemoteConnectionPointDriver allows driving local position, vector, orientation and size from a target Slot. It can be used with TubeWireMesh and StripeWireMesh to drive the other point from another slot.


Fields

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.
FilterThreshold Float The threshold before recalculating the target values.
TargetPoint direct TransformRelayRef The slot to target.
TargetVector Float3 The target vector as a local transform under TargetPoint
TargetSize Float The target scale as a local transform offset under TargetPoint
TargetOrientation FloatQ The target rotation as a local transform offset under TargetPoint
LocalPoint field drive of Float3 The field to drive with the position of TargetPoint with an offset of TargetVector converted to this slot's local space.
LocalVector field drive of Float3 The field to drive with a vector of TargetVector in the transform space of TargetPoint converted to this slot's local space.
LocalOrientation field drive of FloatQ The field to drive with the rotation of TargetPoint with an offset of TargetVector converted to this slot's local space.
LocalSize field drive of Float The field to drive with the scale of TargetPoint with an offset of TargetSize converted to this slot's local space.

Usage

  • It's not a complete physical rope simulator or anything, but it lets you connect two endpoints using the different wire mesh types.
  • Hyper convenience components that make tube meshes squishy like neurons

Examples

See Also