文档

Unity Engine

Unity Engine

multiplyColliderForceByParticleSize

Specifies whether the physics system considers particle sizes when it applies forces to Colliders.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.ParticleSystemModule
public bool multiplyColliderForceByParticleSize { get; set; }

Remarks

If enabled, the force applied to a collider is proportional to the area (2D) or volume (3D) of the particle hitting the collider. Additional Resources: ParticleSystem.CollisionModule.colliderForce, ParticleSystem.collision.