i’ve been going crazy with a very strange behaviour on a program i’m writing:
- I’ve created a custom polygon class inheriting from ofxBox2DPolygon, I created a vector of them and everything works great, I’m able to create and destroy new objects with no prblems but…
I can;t get the position from the polygon!
when I call the method myPolygon.getPosition()
i get zeroes… (0,0).
has anyone had this happening before?
any idea what i might be doing wrong?