Annon Posted February 17, 2012 Share Posted February 17, 2012 I've just been quickly working on a blood type sim that hugs the collision geo and have a bit of a problem with inheriting velocity. At the minute it kind of swims over the sphere as it moves even though it sticks to the surface. I tried to inherit the movement of the sphere before solve so it will move with it before solving gravity and dripping down the sphere, something like ($TX + ($VX / $FPS)) or ($TX _+ ($VX * $TIMESTEP)). I've had it kinda doing the right thing, but I loose the nice dripping shapes. Anyone have a better idea of getting the spheres (read any geo I attach this too) movement applied to the particles before it solves the forces. Thanks Christian. P.s. About the scene. It should be pretty self explanatory, the SOP solver generates a couple of attributes, like impact, Normals and distance that are used in the post POP solver to force it back onto the collision geo. In the Collision SOP there is a PC that has velocities that I'm looking up to transfer the velocities to the particles and multiply by $STICKYDISTANCE which will only effect the particles near the collision object. ldev_stickyBlood_v08_velocityTransferForce.hip Quote Link to comment Share on other sites More sharing options...
Annon Posted February 20, 2012 Author Share Posted February 20, 2012 Bump. Still having issues with this. Has anyone a reliable way of manually inheriting movement from collision object? I'm going to try it as a force when I get a bit more time to play with it tomorrow. Quote Link to comment Share on other sites More sharing options...
pclaes Posted February 21, 2012 Share Posted February 21, 2012 If your collision object does not have changing topology, you could sample the uv's of the hit position (Your object will need to have uv's per primitive). Then put the object at the next frame back at the uv position and apply the "local forces & recalculate a new uv hit position for the next frame. This would probably cause stuff to stick/slide depending on how much you blend between stickyness and forces. As a force works better for things like fluids or particles. But it does give that forcefield look at times. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.