How to apply force to individual rigid bodies based on impact?

AI Thread Summary
To simulate the impact on a wall made of rigid bodies, start by applying the conservation of momentum principle, ensuring the total momentum before and after the impact remains constant. Consider the position of the impact relative to the breaks in the wall to estimate the angular momentum of the individual pieces. It's important to apply forces based on the external force's source and position, as well as the wall's mass, velocity, and other physical properties. Gravity should be factored in immediately after the impact to enhance realism. Utilizing open-source physics engines like Physion or Algodoo can help streamline the simulation process.
karsnen
Messages
1
Reaction score
0
Hello,

SCENARIO :
I am a game developer and I am playing around with rigidbodies. I have a piece of wall which might get impact by an external force. The wall has in turn several other broken pieces (hidden for the moment) put up together to resemble this huge wall. Upon impact I switch one whole piece of wall for the individual pieces and would like to simulate that the wall is broken and subsequently forces are applied to the individual pieces. Thus creating a realistic visual appeal.

PICTURE ORIENTATION :
In the picture, the (a) is a whole piece which would get impact and then upon impact it would switch to (b) which in turn have to be applied the respective forces.

1c3cffc9_f085_48b0_bcdd_4ac5452d40d3.jpg


RESOURCES :
Now I have information from the force on impact and also the information from rigidbody of the whole piece at any point of time, till the switch.

REQUIREMENT :
What I am not sure is how should apply forces to the individual pieces to create the sort of realistic simulation? How should I approach it?

I hope I was clear with my scenario, resources I have and my requirement. If I am not clear at any point, please I would like to detail it.

Thank you for your time and highly appreciate it.

Karsnen.


INFORMATION I HAVE :

The External Force :
  • Source of the force
  • Position of the source of the force

The Whole Piece of Rigidbodiy:

  • mass
  • velocity
  • angular Drag
  • angular Velocity
  • center Of Mass
  • inertia Tensor
  • inertia Tensor Rotation
  • position - The position of the rigidbody.
  • rotation
 
Physics news on Phys.org
Well, a lot of it will depend on how exactly the impact happens. As a good general rule, I would keep conservation of momentum in mind, and don't forget to immediately start accelerating your pieces downward due to gravity.

Depending on where the impact occurs in relation to where the breaks in the wall are, you should be able to estimate the angular momentum of the pieces as well.
This will draw heavily on your intuition if you don't want to get swamped in the math.
But like I said, if the object has momentum mV before the collision, then the sum of all momenta immediately after the crash must be mV.

I would not worry about making the physics perfect, as I think it is likely that the locations and designs of the breaks will not correspond perfectly to reality either.

Hope this helps
 
Rather than write one from scratch .. Is there a an open source physics engine you could use?

I don't know but perhaps have a look at some of the physics simulation programs such as..

http://physion.net/
http://www.algodoo.com/

They seem to do a reasonable job of simulating blocks being knocked over.
 
The rope is tied into the person (the load of 200 pounds) and the rope goes up from the person to a fixed pulley and back down to his hands. He hauls the rope to suspend himself in the air. What is the mechanical advantage of the system? The person will indeed only have to lift half of his body weight (roughly 100 pounds) because he now lessened the load by that same amount. This APPEARS to be a 2:1 because he can hold himself with half the force, but my question is: is that mechanical...
Some physics textbook writer told me that Newton's first law applies only on bodies that feel no interactions at all. He said that if a body is on rest or moves in constant velocity, there is no external force acting on it. But I have heard another form of the law that says the net force acting on a body must be zero. This means there is interactions involved after all. So which one is correct?
Thread 'Beam on an inclined plane'
Hello! I have a question regarding a beam on an inclined plane. I was considering a beam resting on two supports attached to an inclined plane. I was almost sure that the lower support must be more loaded. My imagination about this problem is shown in the picture below. Here is how I wrote the condition of equilibrium forces: $$ \begin{cases} F_{g\parallel}=F_{t1}+F_{t2}, \\ F_{g\perp}=F_{r1}+F_{r2} \end{cases}. $$ On the other hand...
Back
Top