Equations for detecting collision

  • Thread starter Thread starter kachilous
  • Start date Start date
  • Tags Tags
    Collision
AI Thread Summary
To implement collision detection for an object thrown from a 50 m building, the time of collision can be calculated using the equation timeImpact = (-vy - sqrt((vy*vy) - (2*ay*y)) / (2*.5*ay). It's essential to determine the object's velocity and position at impact, as well as to factor in the coefficient of restitution, which is set at 0.5. The position of the object should be monitored, and a collision is detected when its altitude reaches zero (y=0). A time step analysis can be employed, where calculations for time, position, velocity, and acceleration are made at regular intervals to track the object's motion. This method simplifies the computation of post-collision dynamics.
kachilous
Messages
15
Reaction score
0
I have created a program that simulates an object being thrown off a 50 m building.
Now I would like to implement collision detection. What equations would I need to accomplish this? I am taking Physics right now, so my Physics is a little rusty.

I know I will have to find the time of collision:
timeImpact = (-vy - sqrt((vy*vy) - (2*ay*y)) / (2*.5*ay))

Will I also have to find the object's velocity and position at impact too?

I also decided that the object's coefficient of restitution will be .5.
So I know I will have to factor that in as well.

Any help would be appreciated.
 
Physics news on Phys.org
You will need the position (y) of the object. When the position of the object is equal to the altitude of the ground (y=0) its collided. In order to analyze the post collision dynamics you will probably also want the time and velocity. If your approach is a time step analysis, it is quite easy to also compute the time, position, velocity, acceleration in a time step table format.
 
What do you mean by time step analysis?
 
A time step analysis uses a constant increment of time, say 0.1 sec, and computes the necessary data (total time, position, velocity, acceleration) for each step in time. Then uses those results to compute the next increment.
 
Hi there, im studying nanoscience at the university in Basel. Today I looked at the topic of intertial and non-inertial reference frames and the existence of fictitious forces. I understand that you call forces real in physics if they appear in interplay. Meaning that a force is real when there is the "actio" partner to the "reactio" partner. If this condition is not satisfied the force is not real. I also understand that if you specifically look at non-inertial reference frames you can...
This has been discussed many times on PF, and will likely come up again, so the video might come handy. Previous threads: https://www.physicsforums.com/threads/is-a-treadmill-incline-just-a-marketing-gimmick.937725/ https://www.physicsforums.com/threads/work-done-running-on-an-inclined-treadmill.927825/ https://www.physicsforums.com/threads/how-do-we-calculate-the-energy-we-used-to-do-something.1052162/
I have recently been really interested in the derivation of Hamiltons Principle. On my research I found that with the term ##m \cdot \frac{d}{dt} (\frac{dr}{dt} \cdot \delta r) = 0## (1) one may derivate ##\delta \int (T - V) dt = 0## (2). The derivation itself I understood quiet good, but what I don't understand is where the equation (1) came from, because in my research it was just given and not derived from anywhere. Does anybody know where (1) comes from or why from it the...
Back
Top