ドキュメント

Unity Engine

Unity Engine

PhysicsEvents.ContactFilterEvent

An event produced when a pair of PhysicsShape come into contact. This can be used to decide if a contact between the two shapes should be created or not.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public readonly struct PhysicsEvents.ContactFilterEvent

Properties

Property

Description

physicsWorldThe physics world both shapes are within.
shapeAOne of the shapes involved in the event.
shapeBThe other shape involved in the event.