Home › Forums › TimelineFX Module › Panning world and TimelineFX › Re: Re: Panning world and TimelineFX
Thanks for your reply.
I use smokeeffect.setx() and .sety() to set the position of the smokeeffect and the coordinates i use are world-to-screen translated for the object.
The object has a position in the space 2048 x 1048 and when i use my method getObjTranslatedX() it takes the X-coordinate in world space and converts it to screen space using parameters such as my viewport X,Y, width, and height along with it’s cameraX and cameraY position.
Maybe I need to rethink how I translate my world to screen?