USkinnedMeshComponent::SetPhysicsAsset

Override the Physics Asset of the mesh.

Override Hierarchy

USkinnedMeshComponent::SetPhysicsAsset()

USkeletalMeshComponent::SetPhysicsAsset()

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/SkinnedMeshComponent.h

Include

#include "Components/SkinnedMeshComponent.h"

Source

/Engine/Source/Runtime/Engine/Private/Components/SkinnedMeshComponent.cpp

Syntax

virtual void SetPhysicsAsset
(
    class UPhysicsAsset * NewPhysicsAsset,
    bool bForceReInit
)

Remarks

Override the Physics Asset of the mesh. It uses SkeletalMesh.PhysicsAsset, but if you'd like to override use this function

Parameters

Parameter

Description

NewPhysicsAsset

New PhysicsAsset

bForceReInit

Force reinitialize

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Cancel