Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptLibrary_Collision-
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static static UPARAM
(
DisplayName |
Generates Simple Collision shapes for a Static Mesh Asset based on the input Dynamic Mesh. | GeometryScript/CollisionFunctions.h |
|
static static UPARAM
(
DisplayName |
GeometryScript/CollisionFunctions.h |
|
|
static static UPARAM
(
DisplayName |
Generate Simple Collision shapes for a Dynamic Mesh Component based on the input Dynamic Mesh. | GeometryScript/CollisionFunctions.h |
|
static static UPARAM
(
DisplayName |
Get the simple collision from a Primitive Component | GeometryScript/CollisionFunctions.h |
|
static static UPARAM
(
DisplayName |
Get the simple collision from a Static Mesh | GeometryScript/CollisionFunctions.h |
|
static static UPARAM
(
DisplayName |
Generate Simple Collision shapes for an input Dynamic Mesh shape | GeometryScript/CollisionFunctions.h |
|
static static UPARAM
(
DisplayName |
Transform simple collision shapes | GeometryScript/CollisionFunctions.h |
|
static static UPARAM
(
DisplayName |
Attempt to merge collision shapes to create a representation with fewer overall shapes. | GeometryScript/CollisionFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute the negative space of an input mesh surface that should be protected when merging simple collision shapes | GeometryScript/CollisionFunctions.h |
|
static static UPARAM
(
DisplayName |
Compute the 'navigable' convex decomposition of an input mesh surface, i.e. a convex decomposition appropriate for a character of (or larger than) a given size | GeometryScript/CollisionFunctions.h |
|
UPARAM(DisplayName)
Description
Generates Simple Collision shapes for a Static Mesh Asset based on the input Dynamic Mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Collision")
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Collision")
static static UPARAM
(
DisplayName
)
true if the static mesh has customized collision. If no editor data is available, returns false.
UPARAM(DisplayName)
Description
Generate Simple Collision shapes for a Dynamic Mesh Component based on the input Dynamic Mesh.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Collision")
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Get the simple collision from a Primitive Component
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Collision")
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Get the simple collision from a Static Mesh
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Collision")
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Generate Simple Collision shapes for an input Dynamic Mesh shape
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Collision")
static static UPARAM
(
DisplayName
)
UPARAM(DisplayName)
Description
Transform simple collision shapes
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Collision",
Meta=(AutoCreateRefTerm="TransformOptions"))
static static UPARAM
(
DisplayName
) const
Parameters
| Name | Remarks |
|---|---|
| bSuccess | Indicates whether all collision shapes were accurately transformed. On failure, shapes will still be copied over and a best-effort transform will still be applied. |
UPARAM(DisplayName)
Description
Attempt to merge collision shapes to create a representation with fewer overall shapes.
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Collision",
Meta=(AutoCreateRefTerm="MergeOptions"))
static static UPARAM
(
DisplayName
) const
Simple Collision with collision shapes merged, as allowed by settings
Parameters
| Name | Remarks |
|---|---|
| SimpleCollision | The collision to attempt to simplify by merging shapes |
| MergeOptions | Options controlling how shapes can be merged |
| bHasMerged | Indicates whether any shapes have been merged |
UPARAM(DisplayName)
Description
Compute the negative space of an input mesh surface that should be protected when merging simple collision shapes
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Collision",
Meta=(AutoCreateRefTerm="NegativeSpaceOptions"))
static static UPARAM
(
DisplayName
) const
A set of spheres that cover the negative space of the input shape
Parameters
| Name | Remarks |
|---|---|
| MeshBVH | A Dynamic Mesh BVH structure of the surface for which we will compute negative space |
| NegativeSpaceOptions | Options controlling how the negative space is generated |
UPARAM(DisplayName)
Description
Compute the 'navigable' convex decomposition of an input mesh surface, i.e. a convex decomposition appropriate for a character of (or larger than) a given size
| Name | UPARAM |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/CollisionFunctions.h |
| Include Path | #include "GeometryScript/CollisionFunctions.h" |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Collision",
Meta=(AutoCreateRefTerm="Options"))
static static UPARAM
(
DisplayName
) const
The resulting convex hulls as simple collision shapes
Parameters
| Name | Remarks |
|---|---|
| TargetMesh | Mesh to decompose to convex hulls |
| Options | Options controlling the convex decomposition |