I want to move a collection of sprites which have their physics enabled.
To display my desired complex object, I made some nested groups to organize the textures a little better and to be able to design that object within the Phaser Editor. That gives me the advantage of not having to recompute the position each time and I can design the object at any anchor.
Group (toplevel group)
So Group is my toplevel group and it consists of multiple groups which themselves contain sprites.
Each sprites has physics data (loaded from json, created with PhysicsEditor, Lima + Corona JSON). How can I move the entire group with the physics body?
When I set x and y properties of the toplevel group, then all sprites are moved to that location, but not the bodies. This, of course, results in a strange behaviour.
Can someone help me?