UDynamicMeshComponent::UpdateCollision

Force an update of the Collision/Physics data for this Component.

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryFramework

Header

/Engine/Source/Runtime/GeometryFramework/Public/Components/DynamicMeshComponent.h

Include

#include "Components/DynamicMeshComponent.h"

Source

/Engine/Source/Runtime/GeometryFramework/Private/Components/DynamicMeshComponent.cpp

Syntax

virtual void UpdateCollision
(
    bool bOnlyIfPending
)

Remarks

Force an update of the Collision/Physics data for this Component.

Parameters

Parameter

Description

bOnlyIfPending

only update if a collision update is pending, ie the underlying DynamicMesh changed and bDeferCollisionUpdates is enabled