# Obtaining position values of a translated, scaled, and rotated imported pShape

**URL:** <https://discourse.processing.org/t/obtaining-position-values-of-a-translated-scaled-and-rotated-imported-pshape/6916>\
**Category:** Coding Questions\
**Created:** [December 27, 2018, 2:43am UTC](https://discourse.processing.org/t/obtaining-position-values-of-a-translated-scaled-and-rotated-imported-pshape/6916 "2018-12-27T02:43:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [December 27, 2018, 2:58am UTC](https://discourse.processing.org/t/obtaining-position-values-of-a-translated-scaled-and-rotated-imported-pshape/6916/2 "2018-12-27T02:58:04Z")

</div>

last time i play with modelXYZ

> [@Trying to use modelX() but built a spiral galaxy of points](https://discourse.processing.org/t/trying-to-use-modelx-but-built-a-spiral-galaxy-of-points/6064/4):
>
> sorry, not sure this is of any help, but i wanted just to be sure that a mix of translate rotate shear together with saved modelXYZ works. 
> 
> > **give it a try (v03)**
> >
> > i know it looks messy // https://discourse.processing.org/t/trying-to-use-modelx-but-built-a-spiral-galaxy-of-points/6064/4 // v02 summary line cyan // v03 show PVector data also on canvas, plus cleanup int make=0, makemax = 10; PVector[] remember; //\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ void setup() { size(500, 500, P3D); inf…

it worked great, but possibly because it not used your object ( or only the center of a object )

but possibly you can use that code to demonstrate the problem  
( or show your own example )

or i misunderstand, did you say that

> **[getVertex() / Reference](https://processing.org/reference/PShape_getVertex_.html)**
>
> The getVertex() method returns a PVector with the coordinates of the vertex point located at the position defined by the index parameter. This method works when shapes are created…

not work on .obj files?

---

_[View the full topic](https://discourse.processing.org/t/obtaining-position-values-of-a-translated-scaled-and-rotated-imported-pshape/6916)._
