Counter intuitively, static mesh components do not enable bUseDefaultCollision by default, and uses the "BlockAllDynamic" profile. AStaticMeshActors on the other hand, do enable bUseDefaultCollision by default and use "BlockAll". These should each have the same default profile and have bUseDefaultCollision enabled by default. The 'Reset to Default' arrow for the collision profile should also reset to "Default"(bUseDefaultCollision = true) in this case.
There also doesn't seem to be any easy way to programmatically set the static mesh component's collision profile back to default, as calling SetCollisionProfileName with "Default" does not work. This can be done in c++ by setting bUseDefaultCollision = true and calling UpdateCollisionFromStaticMesh, but neither are exposed to blueprints.
Place a static mesh in the level (creating a static mesh actor).
Notice that the actor's static mesh component Collision Preset is "Default" as expected.
Change the preset to something else, then click the yellow 'Reset to Default' arrow that appears.
Notice that the preset resets to "BlockAll".
Expected: The 'Reset to Default' arrow would reset the preset to "Default"
Create a new actor and place a static mesh in its component hierarchy (creating a static mesh component).
Notice that the plain actor's static mesh component Collision Preset is "BlockAllDynamic".
Expected: UStaticMeshComponents should use the collision of their static mesh asset by default.
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
How to achieve HLSL Multiple Render Target in Material blueprints?
How does TextureRenderTarget2D get TArray<uint8> type data?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
What is the difference between Camera and CineCamera?
Why does the REMOVE method of map container remove elements have memory leaks?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-86517 in the post.
3 |
Component | UE - Simulation - Physics |
---|---|
Affects Versions | 4.24 |
Created | Jan 9, 2020 |
---|---|
Resolved | Jul 19, 2022 |
Updated | Jul 19, 2022 |