0
\$\begingroup\$

I am puzzled by the behaviour I am seeing in my game that uses Chipmunk2D for physics. I am not sure what I see is physically correct or not?

If I apply two forces as such, the tank turns, as expected.

turning

The force at RHS of tank is much larger, causing the turn.

So far so good.

However, if the differential gets just a little smaller, as shown below, the tank goes dead-straight.

straight

I emulate the friction by following the example for Chipmunk2D.

The forces are applied using the cpBodyApplyForceAtLocalPoint() function.

\$\endgroup\$
0
\$\begingroup\$

Ok, I figured out what kept the tank from turning. The angular friction is stopping the turning. The delta in the force magnitudes is too small to overcome the angular friction.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .