umer.banday Posted February 27, 2013 Share Posted February 27, 2013 (I am new to Houdini.Please bear with my lack of technical knowledge of Houdini) How does the velocity attribute work in vex? I mean for testing it, i created a new SOP type in vex. In the vex code i wrote the following sop sop1() { v={1,1,1}; } After compiling it succesfully,i saved the otl file. Then i dropped this sop in the network view and connected a line to its input and activated the sop. The line is still at rest. Nothing happens.What did i assign the velocity to? Where is the action? Quote Link to comment Share on other sites More sharing options...
Annon Posted February 27, 2013 Share Posted February 27, 2013 Well you've given it a velocity attribute, but that doesn't mean it's going to move along the velocity path. You need to stick it in a solver to do that... You could test it with a sop solver (think it's just called "solver" in SOPs now) and add the velocity to the position every frame... Quote Link to comment Share on other sites More sharing options...
zarti Posted February 27, 2013 Share Posted February 27, 2013 hi , #pragma label velo VELOsop addVelo_vex( vector velo = { 0, 0, 0 } ){v = velo;}[/CODE].cheers 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.