Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bazilinskyy authored Sep 28, 2022
1 parent e4dae63 commit b758d55
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ To change the position of a waypoint select waypoint transform and move it do th

#### Configuration of the movement of the non-playable vehicles
Additionally, for vehicles, SpeedSetting along with Collider component might be used to further configure tracked path.

![](ReadmeFiles/speed_settings.png)

#### Exporting and importing WaypointCircuit's
Expand Down Expand Up @@ -239,13 +240,15 @@ _EyeContact_, if tracking is enabled, selects as the target the closest game obj
![](ReadmeFiles/Pedestrian.png)

_EyeContactRigControl_ is a component that consumes tracking target provided by _EyeContact_ component and animates drivers head movement.

![](ReadmeFiles/eye-contact.png)

Eye contact behavior tracking state can be changed when the car reaches the waypoint. Behavior change is defined by the _SpeedSettings_ - the component embedded on waypoint objects. The following four fields control those changes:
- _EyeContactWhileYielding_: defines how the driver will behave while the car is fully stopped
- _EyeContactAfterYielding_: defines how the driver will behave when the car resumes driving after a full stop. This value simply overwrites the current value of _EyeContact.EyeContactTracking_ if the car has fully stopped.
- _YieldingEyeContactSince_: defines how many seconds need to pass before the driver will make eye contact (starting from the moment the car has fully stopped)
- _YieldingEyeContactUntil_: defines how many seconds need to pass before the driver ceases to maintain eye contact (starting from the moment the car has fully stopped)

![](ReadmeFiles/SpeedSettings.png)

#### Configuration of daylight conditions
Expand Down

0 comments on commit b758d55

Please sign in to comment.