Jump to content

deformed gravity,need help


YY3010966

Recommended Posts

hi, everyone . im a new houdiner,there is a question need help

 

i wanna create a custom  force always point to surface normal,like a  deformed graivity,it could pull particle back like common gravity,the difference is the different ground position has different gravity dirction ,not always point to -Y direction.it should work just like real earth. 

 

i attach an image ,the red arrow mean the direction of gravity,and balck circle mean object surace.sorry for my ugly drawing.

 

any help will be appreciate.

post-3260-0-19293200-1389809457_thumb.pn

Link to comment
Share on other sites

@ikarus,@narbuckl:
 
thanks guys for u suggestion,bcoz im total new to hoduini,i understand the idea u said,but dont  know how make it done.
sdf mean isoffset SOP?gradient of sdf mean wt?  sorry for my idiot

 

could u attach a simple example hip?  thanks

Link to comment
Share on other sites

Here is an example of a deforming animated shape where I used the SDF as the force in the particle simulation. Hope this helps :)

 

thank u so much,narbuckl, u r so kind .

 

but the hip didnt work for me . no particle appea  and throw error at pop solver .

 

u  use ver13 ?   my version is 12.5.could u explain how it work?

 

anyway,thanks

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...