How do I set nodeA/B in a HingeJoint via GDScript

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By TheWarmWaffle

I can’t seem to assign a node to HingeJoint/Nodes/NodeA on the inspector, in script there is no variable/function for it

:bust_in_silhouette: Reply From: exuin

It’s under “joint” properties in the inspector. In GDScript use set(“nodes/node_a”)