Hello,
I'm using Box2D and ApplyForce - I have tried this with ApplyImpulse as well.
Basically what is happening is this....
I have a force being added to an object. I grab a bunch of info from the user (vertical and horizontal strength are the two I use for the force).
I use this information to apply a force, and I'm doing it like this...
b->ApplyForce(b2Vec2((20*horStrength)*b->GetMass(), (20*vertStrength)*b->GetMass()), b->GetPosition());
This works fine on the simulator and does what I would expect. A weak force is applied on the phone, but it doesn't seem to increase as I increase the value of horStrength or vertStrength.
Anyone know what could be going on?
It looks like the same is happening to the rotation as well. Works fine on the simulator, but seems to always apply the same rotation no matter what I set my variables to.