rtr033000 Posted March 20, 2018 Share Posted March 20, 2018 Hello! Houdini noob here, asking what I'm sure has a straightforward answer, but I haven't been able to find anything that does quite what I need. Basically I've created a particle system that I'm instancing spiders onto, and I have a loopable Alembic-cached walk cycle of the spider. I'm trying to use the velocity of the particles to drive the playback speed of the walk cycle. So the faster the particle is moving, the quicker the walk cycle playback and vice versa. Where I seem to be hitting a wall is when the particles slow down, the animation starts playing in reverse. I tried to set up some sort of way to have the velocity cumulatively add to itself each frame with a Solver SOP, but I can't seem to get that working properly. Not sure how to best approach this at this point. I've attached a simple scene that has the basic setup I'm using, in case that's helpful. Thanks! animation_playback_by_speed.hip Quote Link to comment Share on other sites More sharing options...
coltonmil Posted March 20, 2018 Share Posted March 20, 2018 You had the right idea with the solver! I did exactly as you were thinking additive velocity that controls a copy stamp that affects an upstream timeshift SOP. Your use of alembic frame is interesting and new to me; I don't have your test abc to see how that works, but you should be able to adapt my setup to work with yours. animation_playback_by_speed_v3.hip Quote Link to comment Share on other sites More sharing options...
rtr033000 Posted March 21, 2018 Author Share Posted March 21, 2018 Thank you so much! This works great! 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.