Reputation: 11
Is it possible for b2Body which was created in one layer to have its properties (position, angle) to be modified in another layer?
Upvotes: 1
Views: 36
Reputation: 24866
Of course. All you need for modification is a pointer to the body. Just pass this pointer wherever you want and modify the body state from there
Upvotes: 1