Script interface for CollisionModule.
CollisionModule allows particles to collide with a predefined list of planes, or with the 2D and 3D physics worlds.
関連項目: ParticleSystem, ParticleSystem.collision.
bounce | 衝突した後にそれぞれのパーティクルにどれだけ力を加えるか。 |
bounceMultiplier | A multiplier for ParticleSystem.CollisionModule.bounce. |
colliderForce | How much force is applied to a Collider when hit by particles from this Particle System. |
collidesWith | Control which Layers this Particle System collides with. |
dampen | How much speed does each particle lose after a collision. |
dampenMultiplier | Change the dampen multiplier. |
enabled | Specifies whether the CollisionModule is enabled or disabled. |
enableDynamicColliders | world collsion mode を使用している場合、パーティクルと動的なコライダーを衝突させます。 |
lifetimeLoss | How much a collision reduces a particle's lifetime. |
lifetimeLossMultiplier | Change the lifetime loss multiplier. |
maxCollisionShapes | The maximum number of collision shapes Unity considers for particle collisions. It ignores excess shapes. Terrains take priority. |
maxKillSpeed | 衝突した後に、この閾値を上回る速度のパーティクルを消去します。 |
minKillSpeed | 衝突した後に、この閾値を下回る速度のパーティクルを消去します。 |
mode | 2D と 3D 空間のどちらで衝突させるかを選びます。 |
multiplyColliderForceByCollisionAngle | Specifies whether the physics system considers the collision angle when it applies forces from particles to Colliders. |
multiplyColliderForceByParticleSize | Specifies whether the physics system considers particle sizes when it applies forces to Colliders. |
multiplyColliderForceByParticleSpeed | Specifies whether the physics system considers particle speeds when it applies forces to Colliders. |
planeCount | Shows the number of planes currently set as Colliders. |
quality | Specifies the accuracy of particle collisions against colliders in the Scene. |
radiusScale | A multiplier that Unity applies to the size of each particle before collisions are processed. |
sendCollisionMessages | 衝突コールバックメッセージを送ります。 |
type | 実行するパーティクルの衝突タイプ |
voxelSize | コリジョンキャッシュのボクセルサイズ |
AddPlane | Adds a collision plane to use with this Particle System. |
GetPlane | Get a collision plane associated with this Particle System. |
RemovePlane | Removes a collision plane associated with this Particle System. |
SetPlane | Set a collision plane to use with this Particle System. |