- #1
franticfantom
- 1
- 0
I'm making a bridge-simulation game. I'm using Box2D for the physics engine. I'm trying to figure out the best way to get the amount of stress on a beam. Right now, I'm taking the reaction force of the pins of the beam (Which is FA and FB in the attached diagram below) and comparing them to a maximum value.
There are 2 problems with this:
Here's my attempt at finding the stress on a beam: (sorry I can't figure out how to work latex)
Where AB or BA is the beam (and the vector that represents it), SAB is the stress of AB, * is the dot product, and FA, FB is the reaction force of A and B, respectively.
Is this correct? If not, can someone guide me in the right direction?
There are 2 problems with this:
- The bridge only breaks apart at the pins
- There is no distinction between compression and tension.
Here's my attempt at finding the stress on a beam: (sorry I can't figure out how to work latex)
SAB=(FA * AB) + (FB * BA)
Where AB or BA is the beam (and the vector that represents it), SAB is the stress of AB, * is the dot product, and FA, FB is the reaction force of A and B, respectively.
Is this correct? If not, can someone guide me in the right direction?