magneto Posted December 11, 2013 Share Posted December 11, 2013 Hi, I am using a volume to collide particles, and I want the particles to slide. How can I calculate this in VOPs when I only have volume sample and gradient values? This might not be the best way but I am doing it for practice. Thanks Quote Link to comment Share on other sites More sharing options...
anim Posted December 11, 2013 Share Posted December 11, 2013 tangent in the v direction would be something like this v - point velocity N - volume gradient at point position t - tangent at point position t = normalize( cross( N, cross( v, N ) ) ); 2 Quote Link to comment Share on other sites More sharing options...
magneto Posted December 11, 2013 Author Share Posted December 11, 2013 Thanks anim it 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.