Home › Forums › TimelineFX Module › Panning world and TimelineFX › Re: Re: Panning world and TimelineFX
Thanks so far, getting closer.
Using:
myparticlemanager.SetScreenSize(viewport.getWidth(), viewport.getHeight())
MyParticleManager.SetOrigin( obj_tank_base.getX() – viewport.getX(), obj_tank_base.getY() – viewport.getY())
I get it correct once panning the world and object is in center. Now I just need to compensate when camera reaches boundary and the vehicle drives off center and near the edges. Will report back š