Farmfield Posted November 30, 2018 Share Posted November 30, 2018 This is immensely annoying, haha... So I set this up like 3-4 years ago in H14, but I can't for my life seem to recreate it today. I thought it would be as simple as calculating a matrix from the velocity and then using setprimintrinsic to transform to that matrix - but I just can't get it working. Any ideas? Oh, and I'm not at all excluding that I did the above using something way simpler, like using some POP node - that's maybe even more likely than me doing it in a VOP or using VEX... Quote Link to comment Share on other sites More sharing options...
Drughi Posted November 30, 2018 Share Posted November 30, 2018 Can you post a file give it a try? Quote Link to comment Share on other sites More sharing options...
3dome Posted November 30, 2018 Share Posted November 30, 2018 (edited) crappiest motion in history of odforce but this was a 5 min setup to show one way of aligning packed prims to velocity the harsh turns in orientation come from my extremly sophisticated force set-up^^ dm_alignPackedPrimAlongVelocity.hipnc Edited November 30, 2018 by 3dome Quote Link to comment Share on other sites More sharing options...
Farmfield Posted November 30, 2018 Author Share Posted November 30, 2018 Yeah, already solved it using the dihedral of v and up piped into a setprimintrinsic. Quote Link to comment Share on other sites More sharing options...
dyei nightmare Posted November 30, 2018 Share Posted November 30, 2018 3 minutes ago, Farmfield said: Yeah, already solved it using the dihedral of v and up piped into a setprimintrinsic. diedral? im interested on how you used diedral for this case. Quote Link to comment Share on other sites More sharing options...
toadstorm Posted December 4, 2018 Share Posted December 4, 2018 wouldn't it be more straightforward to use `maketransform(v@v, v@up)` rather than computing a dihedral that rotates one vector onto the other? i mean if it works, it works... just seems like an unusual approach. 1 Quote Link to comment Share on other sites More sharing options...
Farmfield Posted December 31, 2018 Author Share Posted December 31, 2018 On 12/4/2018 at 2:07 AM, toadstorm said: wouldn't it be more straightforward to use `maketransform(v@v, v@up)` rather than computing a dihedral that rotates one vector onto the other? i mean if it works, it works... just seems like an unusual approach. I do non straightforward stuff using unusual approaches all the time, funny enough. It served me well. On 11/30/2018 at 5:17 PM, dyei nightmare said: diedral? im interested on how you used diedral for this case. The scene file is linked in the video - and Toadstorms code works as well, and it's one line instead of two, haha... 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.