Hello Godot people. I am actually quite new to Godot and working on a mobile project on 4.2.1.

I am trying to create a spring between two bodies, or specifically I want to create two bodies that always tend to keep a specific distance between each other, if too far they could be pulled in, and if too close they could be pushed away to the equilibrium point. I searched for some explanations or tutorials about the node Generic6DOFJoin3D, the only thing i found helpful is this detailed instruction posted by Dotted. I followed it but unfortunately it didn't seem to work on my case. The BodyB could not be dragged by the joint and kept falling forever and out of the universe :{.

Plz help! Tyty!

where is the data? where is the code? help us help you

    kuligs2
    thanks for reply.

    This project is just created, so no code at all.

    All I did is on this screenshot, in which I:
    1) add two RigidBody, setting one of them static (or adding a StaticBody instead)
    2) give them MeshInstance3d and CollisionShape3D
    3) assign these RigidBody to a 6DOFJoint
    4) turn off the Y in Linear Limit, turn on the Y in Linear Spring

    The RigidBody below just keeps falling with no effects from the joint. I tried to mess with some numbers on the right side, still nothing changes.