Results 1 to 15 of 15

Thread: Cannon Shot Questions - Some Physics

Hybrid View

  1. #1
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Cannon Shot Questions - Some Physics

    I'd just have a vector for the 4 main things...

    1. Cannonball position
    2. Cannonball velocity
    3. Gravity
    4. Wind

    Use the cannon to set the initial velocity to some large quantity (i assume you are using metres per second as your units?) with the appropriate angle. then for each time step add both the wind and gravity to your velocity (taking the mass of the projectile into account using simple acceleration laws) then simply add that resultant velocity to the position of the cannonball. That should be all there is to it.

    You might want to give the wind vector a more accurate feel by adding the [reverse of the cannonball velocity] to it. This will give a more accurate 'local windspeed'. I haven't worked out the appropriate math for that though.

    Wind resistance effect would be hardly noticable for something like a cannonball, given its large mass and small volume and surface area. Terminal velocity (due to gravity) for a cannon ball is significantly greater than that of, say, a cricket ball.

    I'll do the math now and get back in an hour or so...
    I don't live here any more.

  2. #2

    Thread Starter
    PowerPoster Halsafar's Avatar
    Join Date
    Jun 2004
    Location
    Saskatoon, SK
    Posts
    2,339

    Re: Cannon Shot Questions - Some Physics

    I figured that much myself. Applyin wind resistance to the velocity bugs me a bit tho.

    A ball will continue to accelerate at the same force, gaining velocity of course.
    Wind resistance applys only to velocity doesn't make sense, you think it would also slow the acceleration.

    This application has to apply to a cannon ball and a golf ball...two round objects of completely different mass.
    "From what was there, and was meant to be, but not of that was faded away." - - Steve Damm

    "The polar opposite of nothingness is existance. When existance calls apon nothingness it shall return to nothingness." - - Steve Damm

    "When you do things right, people won't be sure if you did anything at all." - - God from Futurama

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width