Animating ISMs attached to a Cable Component

UnrealEditor_HqaHIyJtc5 UnrealEditor_DPFKT5Ephb

Hi to all,

Can anyone offer any suggestions on how to fix this roll offset? At the mid-point the flag is perfectly aligned with the cable component along all three axes, including the sag. As it sways side-to-side, it goes off-kilter by a few degrees along Z, and it also tilts front to rear along Y. Here’s what I’m working with:

Thanks for taking the time to look.

-Alex

“I just need the correct combination” case :slight_smile:

I take some time to go over it and here is some that MAYBE the culprit;

  • Vectors are right at first glance, UPxRight maybe better normalise again to be sure as first try.
  • You can maybe use MakeRotFromXZ
  • OR Maybe there is a problem with the up being not truly perpendicular to forward so maybe you can try something like this

@RedGrimnir Thanks so much, I’ll check this out over the weekend.

@RedGrimnir I believe I’ve done justice to your proposal, but unfortunately, no change. Did I integrate this correctly? The only thing I had to change was 1.0 → -1.0 on UpNominal, otherwise the flags are inverted, sitting on top of the cable. I doubt this is core to the problem.

I also tried the simpler solutions, but they all produce same/similar result.

Many thanks,

Alex

I solved it! Finding “the correct combination” required a different approach. I wanted to try and offset the unwanted rotation and this would need to be relative to the SINE roll function. Splitting the Forward Vector, I trialed subtracting randomly from each axis before creating the final Roll Rotator - of course it was the last one I tested that worked! :man_facepalming:. Feed the Twist Amplitude into this offset and “hey presto!”

I don’t know what’s going on here - my previous post indicated “solved”, but after a quick tidy-up of the node spaghetti it “unresolved”… after some hair-tearing and finally removing my “solution”, it’s now working according to this logic:

Thanks to @RedGrimnir for the assist.

UnrealEditor_Y0Sv01PzPi

UnrealEditor_YGUXRgitvZ