ASag Posted November 27 Share Posted November 27 Hey Forums, I'm trying to rewrite a working (but super slow) script using a new methodology. I spent about six hours today making little progress, and I believe I have narrowed down my issue at the front end of my marionette network. When I initially built the start of it, I thought I had it working, but after seeing issues later, I noticed the rotations were not actually correct. In the end, I don't care which 'rotate' node/method (Rotate Line, Rotate, Set Entity Matrix...) is used because I have now tried a combination of all the ones I have used in the past without success. I am attaching a copy of the file along with 3 example scripts. I have rewritten these multiple times today, so they probably aren't at their best state right now 😅 In the white box, you will find two circles. I want to find the midpoint of those circles and have a line that bisects it (if you draw a line between the circles, a line that ends up perpendicular to that). The green line is the result I am trying to get to. Can anyone point me to where I'm falling flat here? I'm attaching a copy of the above screenshot in VWX 2024 and 2025. I haven't felt this stuck in a number of months, especially on something that seems like it would be easy... LineRotation v2024.vwx LineRotation2025.vwx Quote Link to comment
ASag Posted November 27 Author Share Posted November 27 The other oddity that is throwing me off is that if I debug the bottom one, the connecting between ADD and ROTATE LINE is the exact value I'm expecting the resulting line to be on. This reports back 128, which is the angle of the green line/wanted result, but the resulting line isn't that. Quote Link to comment
Pat Stanford Posted November 27 Share Posted November 27 This seems to work for me. I did not even try any of your versions. 1 Quote Link to comment
ASag Posted November 27 Author Share Posted November 27 This forum is fantastic! Every time I've posted here, I get such great answers so quickly! I apparently overcomplicated this after I couldn't get it working. You are right; that gives the exact result I am looking for! In the past, I've had to do a bunch of oddities (at least, in my opinion) with the other rotation options and symbols. Thank you so much! Quote Link to comment
Pat Stanford Posted November 27 Share Posted November 27 It is easy to make things harder than they need to be. Marionette is not the easiest to understand what each node is looking for. Quote Link to comment
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.