I think i’m doing something wrong. When I play my game and my player hits the object that has the Particle System Component and rigidbody, the particle system does not play,
var Dust : ParticleSystem;
function OnCollisionEnter(collision : Collision)
{
{
Dust = gameObject.GetComponent(ParticleSystem);
}
if(gameObject.tag == "Player")
{
Dust.Play();
}
}