I wanted to make dynamic wires that flop around when velocity is applied. (The wires would be connected to your characters morph)
So if you walk forward, the wires smoothly tilt backwards a little, and when you stop walking, the wire swings back and forth before eventually stopping. (this would work on all axis obviously, based on the direction)
I know what you are about to say: “Use RopeConstraint lol”, “You can just attach the wire with a BallSocketConstraint”
Hear me out, since the wire is supposed to be connected to your character, you can very easily get glitched out with constraints. (Yes, I tried)
What I was aiming for more was maybe connecting one end of the wire to the other with a Bone, and then changing the end bone position? I dont know how you would be able to do this though
I dont really have any examples, so I hope everyone understands what Im trying to do
I see that nobody replied to you, and we apologize. For future reference, here’s a tutorial.
Set the Parts to massless and use CustomPhysicalProperties to set the density lower than default. Make the parts CanCollide off and then use Ball Sockets to connect them. Easy!
Well I sure wasnt expecting a reply 2 years later lol
I actually mentioned in the post:
And trying your suggestion has the same results. Massless = true and low Density still have an effect on the character, and it makes the part super floppy.
I do actually have a solution though, I guess I never bothered to go back to this topic and making a solution. Around 7 months after this topic was created, I just tried writing code to do this exact thing. After a lot of headaches, it actually worked.
Here is the basic rundown of how it works:
I use a Spring module to create a spring at the position of the part.
I get the Vector3 difference between the part position and spring position.
I rotate the Bone/Motor6D/Weld based on that position difference.
I set the springs target position back to the part position.
Done.
Obviously there are more things to it, but thats just the basics.
If anyone wants to do this nowadays though, I would recommend SmartBone instead. Its a lot easier to set up, and you dont really need to write any code yourself.