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