UGeometryScriptLibrary_CollisionFunctions::SetStaticMeshCollisionFromComponent

Copy the Simple Collision Geometry from the SourceComponent to the StaticMeshAsset

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryScriptingCore

Header

/Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h

Include

#include "GeometryScript/CollisionFunctions.h"

Source

/Engine/Plugins/Experimental/GeometryScripting/Source/GeometryScriptingCore/Private/CollisionFunctions.cpp

Syntax

static void SetStaticMeshCollisionFromComponent
(
    UStaticMesh * StaticMeshAsset,
    UPrimitiveComponent * SourceComponent,
    FGeometryScriptSetSimpleCollisionOptions Options,
    UGeometryScriptDebug * Debug
)

Remarks

Copy the Simple Collision Geometry from the SourceComponent to the StaticMeshAsset