Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Dynamics & Special Effects (https://simplymaya.com/forum/forumdisplay.php?f=33)
-   -   rain drops (https://simplymaya.com/forum/showthread.php?t=9020)

PilotLtKettch 19-11-2003 07:42 AM

rain drops
 
I'm trying to make it rain on my T. rex. the rain comes down okay, but when it collides, it makes a new particle as a result of collision events, and its supposed to run down the sides like water droplets, instead it just falls through his skin and collects on his insides like he's a bucket. I think this is because when the new particle is born its already "in" the skin, so the collision is not computed. does anyone know of a way to solve this? is there an expression to put the new particle a little above the skin? any help would be much appreciated.

Pony 19-11-2003 10:50 AM

I don't know the answer but would like to say even doing that is pretty cool I think..

PilotLtKettch 19-11-2003 07:19 PM

I actually figured it out, position = birthPosition + <<0,.05,0>>;
that puts it just above where it starts so it knows to collide with the first part, it now runs down the sides, but now I need to know how to make it stick to the surface as friction just isn't working or doing it right, find the solution to one problem and then you find there's another on the other side...
anyway, thanks for your reply, and thanks in advance for any other responses

PilotLtKettch 19-11-2003 09:18 PM

http://pilotltkettch.250free.com/raining3.zip
well, here's what I've got so far, using that creation expression, i just need to figure out how to make the drops stick to the skin a bit better, as friction doesn't do it right (it's already at .9 here). thanks for all replies, and thanks in advance for future replies. if anyone can offer help with the drop stickiness, don't hesitate to comment.

ragecgi 20-11-2003 06:19 AM

Have you also tweaked the resillience and/or mass on a perparticle/object level as well?

Just curious:)

PilotLtKettch 21-11-2003 01:28 AM

yeah, I tried that, but it still falls the same way, changing those just adjusts the speed at which it gets there. but I was thinking, is there, first off, a way to get a particle to follow a surface and then either drop when it reaches the edge, or emit a new particle when it reaches there, or is there a way to get it to pull towards the object's pivot point (or just the surface) and then at a certain point, stop and drop? any help would be appreciated

PilotLtKettch 22-11-2003 12:48 AM

ok, I've been trying to use goals, inside the T. rex at certain points are locators, about 10 of 'em, that the particles want to go to. I was going to try and make it so that per each particle the goal weight would depend on the distance between itself and the locator. is goalpp per goal weight or for every goal weight? is it possible to this for each goal weight? is this even a good idea? thanks in advance

Pony 22-11-2003 01:08 AM

the animation looks nice. I like it. is the rain falling off the body to fast at the bottom ? or is it not falowing the undercurve of the body to your likeing ?

PilotLtKettch 22-11-2003 03:54 AM

yeah, its not following the underside, like real water would, this has been driving me insane, I tried using goals, with the locators, but it didn't work, because goal weight is not per particle, and goalPP is for all goals, if there was a per particle per object one then it would work, but no. now I'm trying to make the actual body of the T. rex as a transform goal, they stick more, but they move in weird directions across the surface, not straight down but at diagonals. if any one knows a good way to solve this problem, well... I'd appreciate it a whole lot. thanks in advance

Pony 22-11-2003 04:21 AM

I have a idea you might try.. how about having the tRex emit a radial field from the vertices. Have the field pulling in. Although you might run in to the problem of not enough dense geo there.. you could make a high poly dup and hid that in the render. Just a thought. I have not messed with dynamics much but I do know a radial field emitted from the vertex’s of the tRex would be like a static field pulling the water that was close on to it.. might be hard to get the settings right.

PilotLtKettch 22-11-2003 04:35 AM

that is an interesting idea, I just don't know how to get a negative radial (which would in fact be a newton field, that does the same thing) to do emit at the vertices, I'm sure there's probably a mel script somewhere, but I don't know enough about this to write that, because that does make sense, that's what i was trying to do with the locators, mimic the static field that makes water sticky. thanks for your reply

PilotLtKettch 23-11-2003 01:39 AM

ok, I think I've got it, i create a newton field, select both the field and the rex, go fields>use selected as source, and then turn on under special effects, apply per vertex, I'll post results as soon as possible

ragecgi 23-11-2003 01:44 AM

DUH!!! I totaly forgot about "Use Selected as Source of Field"!

Good job, sorry I wasn't quicker with an answer for you on this one:)

Pony 23-11-2003 03:19 AM

cool. glad it worked. I was thinking about something like that for a static afect on hair. But I had not tryed it yet.

PilotLtKettch 23-11-2003 09:24 AM

ok, new problem cropped up, without apply to vertex, the field is placed in the average of all of the vertices, apply per vertex applies the force equally to every vertex, so, places with more vertices get more combined force (rain drops get sucked to the eye). is there a way to fix this? adjust the magnitude per vertex? an expression, painting it like weights? thanks in advance and thanks for previous replies


All times are GMT. The time now is 06:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018