- Home /
Question by
sigma-z-1980 · Jul 08, 2016 at 11:27 AM ·
scripting problemparticle collision
OnPartcileCollision depends on RigidBody for location detection?
What I want is detect collision with the particle and the point of collision. The object is a Sphere with a Sphere Collider. The probl
em is solved 50% when I attach a RigidBody to the object: OnParticleCollision method works, but for some reason the point of collision is (0,0,0), i.e. the local point at which the SphereCollider is centered.
Without rigidbody the particle collision is not detected at all and the object with the ParticleSystem stays forever.
Not sure what to do as I have tried different options and followed various suggestions. alt text
particlesystem.png
(52.3 kB)
script.png
(80.7 kB)
Comment
Your answer