Skip to main content

Class TrafficBehaviour.StoplineContactStruct

Extends ContactStruct with a minimum dwell time at stoplines, used by traffic-signal compliance processes to model realistic intersection behaviour.

[Serializable]
protected class TrafficBehaviour.StoplineContactStruct : TrafficBehaviour.ContactStruct

Inheritance​

Inherited Members​

Fields​

stopTime​

Minimum time in seconds the actor holds at the stopline before it may proceed, simulating a realistic gap-acceptance or signal-clearance delay.

[Tooltip("How long to stop when encountering a stopline.")]
public float stopTime

Field Value​

float