Garinn

Garinn

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Basic crowd animation with particle interaction May 5, 2010, 5:39 p.m.

Thanks a lot for the reply! Those links helped heaps.

Basic crowd animation with particle interaction May 5, 2010, 12:53 p.m.

Hi everyone,

I'm trying to create a basic, agent/AI based crowd animation for a college assignment, but am somewhat puzzled by the POP system. In the final scene, agents/particles should do the following:

  1. Move towards a point in the scene
  2. If they come near another particle, move towards it (instead of moving to the point mentioned above)
  3. If they are right next to another particle, “attack” it (i.e. change a state/attribute to “attack” and repeatably decrease the other particle's “hit points” attribute)
  4. If a particle's hit points fall below zero, it stops to move and is considered “dead”
  5. The winning particle goes back to 1. (move to point)


    I know that I can set basic interaction behaviour with the Interact POP (i.e., make particles move towards each other), but theres nothing causing them to stop once they've “collided”.
    I thought about creating events based on the Proximity POP, but I can't figure out how to apply operations to only those particles that acutally caused the events, instead of all of them.

    Any help / directions would be greatly appreciated.