hi so i want to Instantiate a PS in the same position as my rain PS particle collide with the Floor i tried unity code : Unity - Scripting API: MonoBehaviour.OnParticleCollision(GameObject)
but collisionEvents[i].intersection return (0.0,0.0,0.0) for xyz all the time any ideas.
note this is the code to Instantiate: Instantiate(thePsuWanaInstantiate, other.transform.position, other.transform.rotation);
1 Answer
1Hi, you dont have to code it, it’s built in the particle system, follow this tutorial to get it working:
https://youtu.be/X5QEh9DmD7o
i know this but i want 2 different sub emitters one for the ground/objects and one for the water
– saiber_ken