# How to Generate a Packed Bed Column usign MATLAB and Unreal Engine

**URL:** <https://forums.unrealengine.com/t/how-to-generate-a-packed-bed-column-usign-matlab-and-unreal-engine/2120302>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, question\
**Created:** [November 13, 2024, 3:16pm UTC](https://forums.unrealengine.com/t/how-to-generate-a-packed-bed-column-usign-matlab-and-unreal-engine/2120302 "2024-11-13T15:16:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhand\_sher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@bhand\_sher](https://forums.unrealengine.com/u/bhand_sher)\
**Post date:** [November 13, 2024, 3:16pm UTC](https://forums.unrealengine.com/t/how-to-generate-a-packed-bed-column-usign-matlab-and-unreal-engine/2120302/1 "2024-11-13T15:16:25Z")

</div>

I want to generate a packed bed column, a cylindrical column filled with beads of various shaped (one at a time but i want to be able to change it like a column filled with spherical beads, column filled with cuboidal beads, column filled with cylindrical beads basically define a shape and get a column filled with bead of that shape) like they would form in a real world. One method of achieving this is simulating beads falling from a height into the column and naturally arranging themselves they settle and we see the position and orientation of each bead. What software can i use to model this problem? I am currently using matlab with unreal engine but im unable to work it, what other means can i use to simulate it or find the packing? I read a few papers suggesting to use python to achieve this but idk how to work that as well. Help a fellow mate.
