Dyamic Collision shape based on ImmediateGeometry

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

Hello.
My problem is that my player node has a sub node which is an ImmediateGeometry
this will be changed a lot. So how can I have a CollisionPolygon whose collision shape is based on the ImmediateGeometry.
Thank you for your help!