Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  'ObiCollider' does not contain a definition for 'idToCollider'
#8
(23-10-2020, 12:10 PM)josemendez Wrote: What this does is it counts the amount of new particle hits any collider has experienced (cumulative over time), and stores that in the "counter" variable. Works perfectly fine. Note that the number logged to the console is the total amount of current contacts with *any* collider or trigger in the scene, the "targetCollider" variable is completely unused in the script.

What is it that you want to count?

First of all, thank you very much for your quick and accurate response.

My problem is that the number of particles released from the emitter is counting from before they hit the ground(here ground is designed as targetcollider).
I want to know the number of water particles that hit the ground.

and, i have a question, "the "targetCollider" variable is completely unused in the script." what does it mean?
Reply


Messages In This Thread
RE: 'ObiCollider' does not contain a definition for 'idToCollider' - by dabinzzang - 24-10-2020, 06:47 AM