Access the particle system collision module.
no example available in JavaScript
using UnityEngine; using System.Collections;
public class ExampleClass : MonoBehaviour { void Start() { ParticleSystem ps = GetComponent<ParticleSystem>(); var coll = ps.collision; coll.enabled = true; coll.bounce = 0.5f; } }