/Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/SceneUtilityFunctions.h
Extract the Collision Geometry from FromObject and copy/approximate it with meshes stored in ToDynamicMesh. For Simple Collision, FromObject can be a StaticMesh Asset or any PrimitiveComponent For Complex Collision, FromObject can be a StaticMesh Asset, StaticMeshComponent, or DynamicMeshComponent
static [UDynamicMesh](API\Runtime\GeometryFramework\UDynamicMesh) * CopyCollisionMeshesFromObject ( [UObject](API\Runtime\CoreUObject\UObject\UObject) * FromObject, [UDynamicMesh](API\Runtime\GeometryFramework\UDynamicMesh) * ToDynamicMesh, bool bTransformToWorld, FTransform & LocalToWorld, [EGeometryScriptOutcomePins](API\Plugins\GeometryScriptingCore\GeometryScript\EGeometryScriptOutcomePins) & Outcome, bool bUseComplexCollision, int SphereResolution, [UGeometryScriptDebug](API\Plugins\GeometryScriptingCore\GeometryScript\UGeometryScriptDebug) * Debug )