-
-
Notifications
You must be signed in to change notification settings - Fork 0
Logic Move Linear
Henry de Jongh edited this page Mar 13, 2023
·
4 revisions
Description | Icon |
---|---|
A reactive logic component that moves between two points. |
Name | Description |
---|---|
Target 1 | The target point that the movement begins at. |
Target 2 | The target point that the movement ends at. |
Time | The time in seconds the full linear motion takes. |
Curve | The animation curve adjusts the linear motion. |
Name | Description | Parameter |
---|---|---|
Open | Move towards the end of the linear motion with positive speed. | None |
Close | Move towards the beginning of the linear motion with negative speed. | None |
Reverse | Reverses the linear motion so that it travels in the other direction. | None |
SetTime | Sets the linear motion time to the float parameter. |
seconds (float) The time in seconds a full linear motion takes. |
Name | Description | Parameter |
---|---|---|
Arrived | Invoked when the linear movement arrives at a destination. | None |
ArrivedAtTarget1 | Invoked when the linear movement arrives at target 1. | None |
ArrivedAtTarget2 | Invoked when the linear movement arrives at target 2. | None |
Departed | Invoked when the linear movement departs from a destination. | None |
DepartedFromTarget1 | Invoked when the linear movement departed from target 1. | None |
DepartedFromTarget2 | Invoked when the linear movement departed from target 2. | None |
On Awake this component checks for a Rigidbody on the same game object. If found then FixedUpdate will be used with Rigidbody.MovePosition()
for better physics engine interaction.
Logic Components | Terminology | Programming | External Components | |
---|---|---|---|---|
Logic Animator | Activator | Custom Logic | Reactive Dynamic Light | |
Logic Auto | Caller | Custom Inspector | ||
Logic Branch | Delay | Use Key | ||
Logic Case | Target | |||
Logic Collision Pair | User Inputs | |||
Logic Compare | ||||
Logic Counter | ||||
Logic Destroy | ||||
Logic Filter | ||||
Logic Group | ||||
Logic Instantiate | ||||
Logic Log | ||||
Logic Move Linear | ||||
Logic Relay | ||||
Logic Timer | ||||
Logic Trigger | ||||
Logic Unity |