# ComputeSkinnedPositions returning 0 all vertices?

**URL:** <https://forums.unrealengine.com/t/computeskinnedpositions-returning-0-all-vertices/433141>\
**Category:** Character & Animation\
**Tags:** vertex-position, unreal-engine, skeletalmesh, CPP, question\
**Created:** [September 4, 2018, 7:55am UTC](https://forums.unrealengine.com/t/computeskinnedpositions-returning-0-all-vertices/433141 "2018-09-04T07:55:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_460ad1a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_460ad1a1](https://forums.unrealengine.com/u/anonymous_user_460ad1a1)\
**Post date:** [September 4, 2018, 7:55am UTC](https://forums.unrealengine.com/t/computeskinnedpositions-returning-0-all-vertices/433141/1 "2018-09-04T07:55:43Z")

</div>

Hi!  
I have a character model that combines a skeleton with a blendshape rig on the face. But I’m currently trying to see the current positions of the face vertices on a specific moment, but it just returns 0 for all the values???  
As I’m implementing this as a blueprint, I’m passing it a USkeletalMeshComponent\* faceModel and then finding the positions of the vertices using:

```
TArray<FVector> Locations;
faceModel->ComputeSkinnedPositions(Locations);

```

Actually, this works if it is only the blendshape model/morph targets without the body (skeletal) rig. But the moment I have everything together, ComputeSkinnedPositions just returns 0 on all the values… Dx

Does anyone have any tip?  
Many thanks!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_460ad1a1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_460ad1a1](https://forums.unrealengine.com/u/anonymous_user_460ad1a1)\
**Post date:** [September 4, 2018, 4:08pm UTC](https://forums.unrealengine.com/t/computeskinnedpositions-returning-0-all-vertices/433141/2 "2018-09-04T16:08:04Z")

</div>

After way too many hours… managed to get the answer… If I use GetSkinnedVertexPosition it works,

```
faceModel->GetSkinnedVertexPosition(int vtxIdx) 

```

Not quite sure why ComputeSkinnedPositions, so if someone knows why… I’d still like to know. But for now this is the answer I got to!
