I am using Box2DFlash 2.1a
Is it possible to dynamically change the friction of an object? I only need this for debugging purposes so it does not need to be rigid or well defined. But I need to be able to change the friction of any object dynamically.
I tried to recreate the object but it did not work.
I thought I could also create a new fixture and change the friction there and add that fixture over the old friction, but I hit a dead end there.
Is it possible to dynamically change the friction of an object? I only need this for debugging purposes so it does not need to be rigid or well defined. But I need to be able to change the friction of any object dynamically.
I tried to recreate the object but it did not work.
I thought I could also create a new fixture and change the friction there and add that fixture over the old friction, but I hit a dead end there.