Jump to content

Orient Particles to their direction while sliding on surface


cormaction

Recommended Posts

Hi guys,

I'm very new to Houdini. I'm coming from a Softimage ICE background so my brain is still struggling with adapting to a new workflow so bear with me if you can! 
I was following this awesome tutorial from the Entagma guys (linked bwlow).

In short, I replaced the spheres he uses at the end with the trusty ol' pig head and now I would like to figure out how to make these pigs heads turn in the direction they are moving as they slide around the surface. I've spend a long time googling and looking at previous posts related to particle orientation but I can't seem to find a way to adapt anything to this scenario. I'll attach the scene file if anyone has any advice? I think I would need to do something like finding the point position from the current and previous frames and subtract them to create the direction vector but I can't find a way to do that in any of the PopVops. I tried using a PopLookat and setting the target to look at the velocity but not luck. 

Any help would be appreciated. I'm not great at VEX, I come from ICE so Pop Vops etc work best in my brain if thats possible.

Cheers

(not sure how to reduce size of video in this post, apologies if it shows up giant!)

Entagma_GrowthEvenOnSurface_V01a.hipnc

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...