# How to access particle positions in the Nvidia Flex UE4 integration?

**URL:** <https://forums.unrealengine.com/t/how-to-access-particle-positions-in-the-nvidia-flex-ue4-integration/406245>\
**Category:** FX\
**Tags:** unreal-engine, nvidia, simulation, question, CPP\
**Created:** [October 5, 2017, 2:41pm UTC](https://forums.unrealengine.com/t/how-to-access-particle-positions-in-the-nvidia-flex-ue4-integration/406245 "2017-10-05T14:41:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![milespeyton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@milespeyton](https://forums.unrealengine.com/u/milespeyton)\
**Post date:** [October 5, 2017, 2:41pm UTC](https://forums.unrealengine.com/t/how-to-access-particle-positions-in-the-nvidia-flex-ue4-integration/406245/1 "2017-10-05T14:41:41Z")

</div>

I am working with the NVIDIA Flex UE4 integration, and am wondering if it is possible to read Flex particle positions in a C++ script at runtime.

From the Flex Artist Tools documentation, I know you can have Soft Bodies attach to and follow rigid shapes, but I am looking to do the opposite of that: I’m trying to attach actors to soft bodies without the use of intervening rigid actors. For example, say I am working with a Flex Soft Body of an octopus. Is there a way to have an audio source actor follow a particular particle on the on the octopus’ tentacle as it deforms?

If I could get access to the positions of Flex particles on every frame in a script, then it would be simple to have an actor follow a certain particle, but I can’t find any documentation that explains how to do this.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_40078cc7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_40078cc7](https://forums.unrealengine.com/u/anonymous_user_40078cc7)\
**Post date:** [November 6, 2017, 2:48pm UTC](https://forums.unrealengine.com/t/how-to-access-particle-positions-in-the-nvidia-flex-ue4-integration/406245/2 "2017-11-06T14:48:49Z")

</div>

Have you find a solution for this problem? I have the same problem

---

<div class="post-metadata">

**Author:** ![milespeyton](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@milespeyton](https://forums.unrealengine.com/u/milespeyton)\
**Post date:** [November 6, 2017, 3:51pm UTC](https://forums.unrealengine.com/t/how-to-access-particle-positions-in-the-nvidia-flex-ue4-integration/406245/3 "2017-11-06T15:51:08Z")

</div>

I have not, unfortunately.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_40078cc7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_40078cc7](https://forums.unrealengine.com/u/anonymous_user_40078cc7)\
**Post date:** [November 6, 2017, 4:00pm UTC](https://forums.unrealengine.com/t/how-to-access-particle-positions-in-the-nvidia-flex-ue4-integration/406245/4 "2017-11-06T16:00:21Z")

</div>

Thanks for answare.  
Do you know a method for extract coordinate of a flex sphere’s mesh?
