Hello, everyone. There have been a number of questions similar to mine, but not quite.
Here's what I want to achieve: I have a puzzle game, where objects snap together. Once they are snapped, they should be 'sticky', namely: if you apply a force below a certain threshold, it should have no effect and the objects should remain snapped together. Above the threshold, though, the force should act normally.
Is there a way I can implement this in Box2D? I'm a complete newbie, so could you please make your answer as explicit as possible? I'm using Python, but I'd appreciate examples in any language.
Thanks a lot,
Mark
Here's what I want to achieve: I have a puzzle game, where objects snap together. Once they are snapped, they should be 'sticky', namely: if you apply a force below a certain threshold, it should have no effect and the objects should remain snapped together. Above the threshold, though, the force should act normally.
Is there a way I can implement this in Box2D? I'm a complete newbie, so could you please make your answer as explicit as possible? I'm using Python, but I'd appreciate examples in any language.
Thanks a lot,
Mark