Goal Settings
Variables | Description |
---|---|
Follower | The goal game object. |
Branch key | the current branch key the goal is on, To set a branch key for the goal, select the branch from your scene view then click on the "return" button. |
Distance | The current distance of the goal on the branch, the max is the length of the branch. |
Position | Translation of the goal, Space Type: World - local space. |
Rotation | Rotation of the goal, On/Off : Enable disable Rotation. |
Animation
Variables | Description |
---|---|
On/Off | Enable/disable goal animation. |
Speed | The speed of the goal |
Full Speed Time | The time it takes the goal to reach full speed. |
Animation type | “ Random ” move your goal with a defined speed along the spline. branch picking decision is made randomly at intersection “Keyboard ” move your goal using keyboard. branch picking decision is made based on direction keyboard inputs |
Flip Direction | "Keyboard animation type only", change the goal facing direction based on keyboard inputs |
Brake force | "Keyboard animation type only", brakes force applied. |
Events
Variables | Description |
---|---|
Event Name | Editable text field to customize your event name |
Type | the type of event you want to use, there are 5 events , Custom, On Awake, On Move, IDLE, On Key Pressed |
Branch
Trigger events based on the current branch of the goal.
Variables | Description |
---|---|
Branch fork type | The branch fork type you want as a condition for the events scheduled bellow to trigger there are 3 options available Both:No matter what branch fork the goal is on, events scheduled will be triggered once goal is on the defined branchbeginning: Events scheduled will be triggered once goal is on the beginning of the branch defined. end: Events scheduled will be triggered once goal is on the end of the branch defined. |
branch key | The branch key of the branch that the scheduled events will trigger once the goal is on. |
Events | the events scheduled to be triggered once one of the conditions on top is met |
OnAwake
Triggered once the game starts,
Variables | Description |
---|---|
Delay time | The delay time of triggering the OnAwake events listed bellow |
OnAwake Events | Events you want to trigger once you start the game. |
OnMove
Triggered once goal starts moving after stoping.
Variables | Description |
---|---|
OnMove Events | Events you want to trigger when goal starts moving |
IDLE
Triggered once goal stops moving.
Variables | Description |
---|---|
IDLE Events | Events you want to trigger when goal stops moving |
OnKeyPressed
Triggered once a defined key is pressed.
Variables | Description |
---|---|
Key | The key code you want to press to trigger the OnPressed events listed bellow. |
OnPressed Events | Events you want to trigger once the key set on top is pressed. |