- Home /
Spawn Prefab at Particle Collision
So this is my script: var collidoffect : GameObject;
function OnParticleCollision (other : GameObject) {
Instantiate(collidoffect,transform.position, transform.rotation); }
}
How do I set it so it spawns directly at the collision point
Comment
I don't know the exact code but try to research raycast :)
Your answer
Follow this Question
Related Questions
Prticle collision point 1 Answer
Transform.Position Collision Issue 0 Answers
Destroy an instantce of a prefab object 1 Answer
Collision between two moving clones 0 Answers
I want instantiated object to stick with in-scene object 1 Answer