So I found a solution and forgot about this post.
The “Hair Constraints” work well when the ‘hair spline’ uses a circle ‘sweep ‘. When you use a rectangle to sweep the ‘hair spline’, the rotation problem occurs.
There are a few things I have learned…
Ensure that you cache the dynamics, this creates a more accurate representation of the animation and requires less resources to run.
I also over came this by putting the entire earphone (both earbuds, cable and remote) into a null object (call it earphone null), the cable was straight linear and adaptive, i subdivided it to have 10 vertex points. I then applied a spline wrap to the earphone null (place the earphone null and spline wrap inside another null, call it spline wrap null). I created a hair spline with constraints and used it as the path for the spline wrap.
You need to ensure you have chosen the correct axis to align, switch mode to ‘keep length’ (to prevent stretching), play with the ‘From’ and ‘To’ settings to ensure the earbuds are not included in the spline dynamics.
Then place everything in another null call it “dynamic earphones”. You can then move that null around with a dynamic cable. If you need to move one of the earphones, ensure the constraint is attached to an object, make it invisible and animate that.
If you need more control over the animation, animate the align spline ‘offset value’, this makes the earphones follow a path you choose.
Below are some examples of what I have made using these methods:
https://www.youtube.com/watch?v=ZmTBzk9VLR4
https://www.youtube.com/watch?v=VvE5111I-gI
https://www.youtube.com/watch?v=kyGn0gtNZL0
I hope this was useful, it took me a while to figure it out.
Some contents or functionalities here are not available due to your cookie preferences!
This happens because the functionality/content marked as “Google Youtube” uses cookies that you choosed to keep disabled. In order to view this content or use this functionality, please enable cookies: click here to open your cookie preferences.