How HingeJoint works ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By DriNeo
:warning: Old Version Published before Godot 3 was released.

Here is my scene tree.

Spatial
---- StaticBody3D
-------- MeshInstance
-------- CollisionShape
---- StaticBody3D (2)
-------- MeshInstance
-------- CollisionShape
---- HingeJoint

HingeJoint Node A and Node B are the two static bodies.
I tried to rotate the HingeJoint with no result. How this node works please ?

:bust_in_silhouette: Reply From: DriNeo

For this purpose I will use a spatial node child of the first static body and this spatial node will be parent to the second static body.