Introduction to Maya - Modeling Fundamentals Vol 1
This course will look at the fundamentals of modeling in Maya with an emphasis on creating good topology. We'll look at what makes a good model in Maya and why objects are modeled in the way they are.
# 1 07-01-2014 , 06:10 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374

nParticle color change on collision with nParticle

I'm trying to create what should be a relatively simple effect. But it depends on particle particle collision information and this is where I am stuck.

Problem: I have two nParticle shapes, one of which has only one particle for simplicity (particleShapeB). Any time a particle from particleShapeA collides with shapeB, I would like that particle to change color.

What I'm trying: I've experimented with calling an event procedure with the Particle Collision Event Editor, but this is very very slow, because it calls a procedure for every frame for every particle that collides with anything. And, I don't know how to modify a per particle attribute in a global procedure. Or how to get that info into a runtime expression.

I've also been looking into SOuP, because it seems there are some pretty powerful nodes with attribute transfer and all that, but I'm still stuck on how to tie that to collisions.

Thanks for any ideas!

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads