startStaticContacts
Normally shapes on Static bodies don't create contacts when they are added to the world. This overrides that behavior and causes contact creation. This significantly slows down Static body creation which can be important when there are many Static shapes. This is implicitly always true for Triggers, Dynamic bodies and Kinematic bodies. See PhysicsShape.startStaticContacts.
阅读时间1 分钟最后更新于 23 天前
Definition
- Type: Property
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public bool startStaticContacts { readonly get; set; }