# How to simulate an datasmith runtimeActor, that is imported during runtime ?

**URL:** <https://forums.unrealengine.com/t/how-to-simulate-an-datasmith-runtimeactor-that-is-imported-during-runtime/775585>\
**Category:** Blueprint\
**Tags:** simulate-physics, unreal-engine, question, Datasmith-Runtime\
**Created:** [February 21, 2023, 2:58pm UTC](https://forums.unrealengine.com/t/how-to-simulate-an-datasmith-runtimeactor-that-is-imported-during-runtime/775585 "2023-02-21T14:58:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SimPro2023](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/simpro2023/32/708849_2.png) [@SimPro2023](https://forums.unrealengine.com/u/SimPro2023)\
**Post date:** [February 21, 2023, 2:58pm UTC](https://forums.unrealengine.com/t/how-to-simulate-an-datasmith-runtimeactor-that-is-imported-during-runtime/775585/1 "2023-02-21T14:58:56Z")

</div>

In Order to simulate the imported 3D RuntimeActor , i have to activate the physic simulation at runtime. Prequesites are , as far i know : (Actor is set to moveable and has a working Collider and a primitive (i think because center of mass is needed) .

Current State:

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/3/b/13b3e9f0e8ea6ceb01bded4fbfa1ef340e269f5d.jpeg)

If i use Complex and Simple or use Simple as Complex ( i have no Collision at all ).  
If i use Complex as simple ( my collision works fine but there is a hint in the description, that no forces can be applied)

Problem is the missing primitve or something equivalent :

 ![grafik](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/9/f/f9f93e878e2b1b7489c4aa30b0a3454ee5271895.png)

There are two Roads to go for me at the moment: Construct a Primitive ( a box ) at runtime or create a convex hull at runtime.  
I will probably need both ways, so any hint is appreciated.  
There is a funtion in the Docu for 4.26 ( i use 5.1) : [Set Convex Decomposition Collisions with Notification | Unreal Engine Documentation](https://docs.unrealengine.com/4.26/en-US/BlueprintAPI/EditorScripting/StaticMesh/SetConvexDecompo-/)

that would be maybe suitable for generating a primitve like object, but it seems not available at 5.1.

i have also to do Volume and Mass Calculation that also depending on primitives and cant be applied directly on a mesh.  
Is there a primitive like object, that i can generate from a mesh ?

---

<div class="post-metadata">

**Author:** ![PresumptivePanda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/presumptivepanda/32/1194593_2.png) [@PresumptivePanda](https://forums.unrealengine.com/u/PresumptivePanda)\
**Post date:** [February 22, 2023, 1:26am UTC](https://forums.unrealengine.com/t/how-to-simulate-an-datasmith-runtimeactor-that-is-imported-during-runtime/775585/2 "2023-02-22T01:26:11Z")

</div>

Hi there @SimPro2023. Hope you’re well!

This topic has been moved from **International** to **Programming & Scripting: Blueprint**.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing! 🙂
