/Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/Physics/ComponentCollisionUtil.h
Replace existing Simple Collision geometry in BodySetup with that defined by NewGeometry, and update the Component/BodySetup collision settings. StaticMesh argument allows for necessary updates to it and any activeUStaticMeshComponentthat reference it
namespace UE { namespace Geometry { void UE::Geometry::UpdateSimpleCollision ( [UBodySetup](API\Runtime\Engine\PhysicsEngine\UBodySetup) * BodySetup, const [FKAggregateGeom](API\Runtime\Engine\PhysicsEngine\FKAggregateGeom) * NewGeometry, [UStaticMesh](API\Runtime\Engine\Engine\UStaticMesh) * StaticMesh, [FComponentCollisionSettings](API\Plugins\ModelingComponents\Physics\FComponentCollisionSettings) NewCollisionSettings ) } }