Documentation

Unity Engine


Unity Engine


contactEvents

Controls whether this shape produces contact events which can be retrieved after the simulation has completed. This only applies to kinematic and dynamic bodies. A contact event is produced if either shapes involved have their contactEvents enabled. Changing this at run-time may lead to lost begin/end events.
Read time 1 minuteLast updated a month ago

Definition

public bool contactEvents { readonly get; set; }