- Home /
Whirlwind spell collision detection
I have a whirlwind spell that is a particle emitter that grows over time (see video).
My problem now is how to make it so that I can detect when an object (enemies, crates, etc.) is hit by the spell (within the radius of the wirldwind) and do something (deal damage, smash crate, etc.) but I can't get it to work.
I've tried adding a collider (sphere and capsule) to it but they don't scale properly with the emitter (the capsule just got taller instead of wider, the sphere only grew at half the speed of the emiiter).
If anyone could shed some light on how this could be accomplished, it would be greatly appreciated.
Answer by vianey · Oct 17, 2013 at 02:42 PM
what you can do is create an empty object and place it where you want to display the swirl and put a collider and to detect instantiate your character
Your answer
Follow this Question
Related Questions
How to detect which exact particle element from a particle system hit a collider? 0 Answers
Inconsistent Particle Collision detection 0 Answers
Detecting collision between particle and player. 2 Answers
Let Particles sit on Collider without triggering callback - OnParticleCollisionEnter? . 1 Answer
Particle collision problem 0 Answers