Hi all,
I'm working on implementation of "pressure region" for my game.
What I want to achieve is when my object (ball) make contact with my pressure region to be able to apply impulse of appropriate strength. And that "appropriate strength impulse" is my problem.
I want that my redBall which is closer to center of pressure region have higher impulse than blueBall that is further from pressure source.
I think this problem is less complex than explosion simulation, because i can apply force to the center of ball, doesn't need rotation..
Maybe I can do it with just b2Distance function...?