Skip to main content

CraftableImpactDetector

A class in Root.Township, Alta.Impact.

A CraftableImpactDetectorBase that only accepts collisions from its registered tool when the contact is on one of its own colliders.

Constructors​

MemberWhat it is
CraftableImpactDetector()Unity makes components itself; use AddComponent or spawn a prefab instead of new.

Methods​

MemberWhat it is
protected override bool ValidateContatPoint(ContactPoint point)True when the contact's own collider belongs to this detector (its nearest parent ImpactDetector is this one).