Recent content by Paul7

  1. P

    Calculating the Acceleration of a Golf Ball Flight

    Just realized that r1 and r2 are the vectors from the center of mass of the objects to the collision point and are not the radius's as I first thought, if that's any help!
  2. P

    Calculating the Acceleration of a Golf Ball Flight

    v1 and v2 are the velocities of object 1 and 2 respectively and w 1 and 2 are their angular velocities
  3. P

    Calculating the Acceleration of a Golf Ball Flight

    Thanks a lot for all your help its much appreciated. Works really well now. Tryin to do the response of the ball from the collision with the ground. Any one have any ideas on this. I need it to take into account the spin of the ball and the friction between it and the ground. Have got the...
  4. P

    Calculating the Acceleration of a Golf Ball Flight

    I always thought the magnus force was too big but there doesn't seem to be anything wrong with the calculation. Have just tried dividing the force obtained by 5 and running the simulation and it works almost as required it travels about 180m and a height of 17m, this is with no spin reduction...
  5. P

    Calculating the Acceleration of a Golf Ball Flight

    Thanks for that jamesrc that's just what I needed, only thing is am not too up on all this rotation stuff so am not sure what the inertia of the golf ball is. Have had a look around and it says the moment of inertia of a ball is 2/5 m r^2. Is this the same thing? Tried using this and get a value...
  6. P

    Calculating the Acceleration of a Golf Ball Flight

    From what I know I don't think the magnus force does affect the angular velocity, maybe the drag has some effect? or maybe there's some other forces affecting it?
  7. P

    Calculating the Acceleration of a Golf Ball Flight

    Yeah I know that's the thing, I`m not entirely sure on this. I've tried just reducing it by a constant value which gives okish results but the ball doesn't travel any where near far enough and is far too high. For example it should really go about 200m where mine only goes about 100m and it...
  8. P

    Calculating the Acceleration of a Golf Ball Flight

    The simulation.rps is already in radians per second, its defined in another section of code earlier. Its not very clear sorry! Simulation.rps = (2 * PI * 3000) / 60; where 3000 is the initial rpm.
  9. P

    Calculating the Acceleration of a Golf Ball Flight

    Thanks a lot Jamesrc that'd be great. My code can be found at: http://www.3dreal.co.uk/project/code.txt Its written in C. Should be pretty easy to follow even if your not familiar with it. The idle function is part of OpenGl that is used to update the display as often as possible but...
  10. P

    Calculating the Acceleration of a Golf Ball Flight

    Ideally I don't particulary want to deal with all sorts of numerical integration. The simulation needs to run in real time so the fewer calculations needed the better. Is there any type of approximations that would produce the required results. It doesn't have to be 100% physically accurate just...
  11. P

    Calculating the Acceleration of a Golf Ball Flight

    Tried implenting this using Palpatines equation but still can't get it to work right. The ball starts off correct initially then reaches a maximum height and then carries on going up and down in a sin wave like motion and never comes back to the groud. I don't know as to whether the angular...
  12. P

    Calculating the Acceleration of a Golf Ball Flight

    Thanks a lot for the help Dont no if am being a bit dumb but what's the K vector in Palpatine's equation? and also would I solve this three times once for X, Y, Z coordinates?
  13. P

    Calculating the Acceleration of a Golf Ball Flight

    Am calculating the magnus force or uplift force using: Fm = (2PI^2 * p * v * r^4 * w) / 2r were p = density of air, r = radius, w = angular velocity, v = velocity The drag is calculated using: Fd = 0.5 * cd * p * area * v^2 where cd = drag coefficient, area = cross sectional area...
  14. P

    Calculating the Acceleration of a Golf Ball Flight

    I am currently trying to create a computer simulation of the flight of a golf ball and am having difficulties in calculating the acceleration of the ball. The following forces are applied to the ball: http://www.3dreal.co.uk/project/phys.jpg I know how to calculate the forces but am...
Back
Top