marcin Posted April 21, 2011 Share Posted April 21, 2011 Hi! I've problem with orienting particle to the surface. When particle is born with no initial velocity it's orientation isn't aligned with geometry (it's align with world axis). I want to orient particle from one vector to another. How it should be done ? Cheers Quote Link to comment Share on other sites More sharing options...
Macha Posted April 21, 2011 Share Posted April 21, 2011 If you have an N attribute on your original geometry it will be aligned with it regardless of where it gets velocity from. Or do you want more precise control? align.hip 1 Quote Link to comment Share on other sites More sharing options...
marcin Posted April 21, 2011 Author Share Posted April 21, 2011 If you have an N attribute on your original geometry it will be aligned with it regardless of where it gets velocity from. Or do you want more precise control? I need precise control over particle rotation. I need to align particle to some arbitrary vector. In my simple goal setup I need to align particle rotation to new goal position. I tried it to do this with orient attribute but without success. When I'm in POPS particle origin is always aligned with world axis, is it proper behaviour ? goal_align.hipnc Quote Link to comment Share on other sites More sharing options...
NagyG Posted April 21, 2011 Share Posted April 21, 2011 I've mixed N and UP vectors in voppop. cheers goal_alignFIX02.hipnc 3 Quote Link to comment Share on other sites More sharing options...
NagyG Posted April 21, 2011 Share Posted April 21, 2011 another solution, with quaternion. goal_alignFIXquat.hipnc 3 Quote Link to comment Share on other sites More sharing options...
marcin Posted April 24, 2011 Author Share Posted April 24, 2011 another solution, with quaternion. Thanks! That's exactly what I needed. Quote Link to comment Share on other sites More sharing options...
NagyG Posted April 25, 2011 Share Posted April 25, 2011 Thanks! That's exactly what I needed. your welcome! Fixquat solution does not work at the animated goal geometria, because the attribute is not initialized in the popnet context. 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.